Skip to content

Commit 1864f4f

Browse files
committed
Fix pickling test
1 parent 381242e commit 1864f4f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

compiler/src/dotty/tools/dotc/transform/init/Semantic.scala

+2-4
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ object Semantic:
242242
* that could be reused to check other classes. We employ this trick to
243243
* improve performance of the analysis.
244244
*/
245-
private type Config = Value
246-
private type Res = Value
247245

248246
/** The heap for abstract objects
249247
*
@@ -257,14 +255,14 @@ object Semantic:
257255
private type Heap = Map[Ref, Objekt]
258256

259257

260-
class Data extends Cache[Config, Res]:
258+
class Data extends Cache[Value, Value]:
261259
/** Global cached values for expressions
262260
*
263261
* The values are only added when a fixed point is reached.
264262
*
265263
* It is intended to improve performance for computation related to warm values.
266264
*/
267-
private var stable: ExprValueCache[Config, Res] = Map.empty
265+
private var stable: ExprValueCache[Value, Value] = Map.empty
268266

269267
/** Abstract heap stores abstract objects
270268
*

0 commit comments

Comments
 (0)