@@ -21,7 +21,7 @@ import dotty.tools.dotc.core.Denotations.SingleDenotation
21
21
import dotty .tools .dotc .core .SymDenotations .SymDenotation
22
22
import dotty .tools .dotc .core .DenotTransformers .{IdentityDenotTransformer , DenotTransformer }
23
23
24
- class LazyValTranformContext {
24
+ class LazyValsTransform extends MiniPhaseTransform with IdentityDenotTransformer {
25
25
26
26
import tpd ._
27
27
@@ -35,17 +35,9 @@ class LazyValTranformContext {
35
35
class OffsetInfo (var defs : List [Tree ], var ord : Int )
36
36
val appendOffsetDefs = mutable.Map .empty[Name , OffsetInfo ]
37
37
38
- class LazyValsTransform extends MiniPhaseTransform with IdentityDenotTransformer {
38
+ override def phaseName : String = " LazyVals "
39
39
40
- override def phaseName : String = " LazyVals"
41
-
42
- override def treeTransformPhase = this .next
43
-
44
- /** List of names of phases that should have finished their processing of all compilation units
45
- * before this phase starts */
46
-
47
- /** List of names of phases that should have finished their processing of all compilation units
48
- * before this phase starts */
40
+ override def treeTransformPhase = this .next
49
41
50
42
/** List of names of phases that should have finished processing of tree
51
43
* before this phase starts processing same tree */
@@ -329,8 +321,6 @@ class LazyValTranformContext {
329
321
Thicket (List (containerTree, accessor))
330
322
else Thicket (List (containerTree, flag, accessor))
331
323
}
332
-
333
- }
334
324
}
335
325
336
326
0 commit comments