File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
compiler/src/dotty/tools/dotc/transform Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ object TreeTransforms {
62
62
63
63
def treeTransformPhase : Phase = phase.next
64
64
65
- val cpy = cpyBetweenPhases
65
+ val cpy : TypedTreeCopier = cpyBetweenPhases
66
66
67
67
def prepareForIdent (tree : Ident )(implicit ctx : Context ) = this
68
68
def prepareForSelect (tree : Select )(implicit ctx : Context ) = this
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ class Simplify extends MiniPhaseTransform with IdentityDenotTransformer {
32
32
33
33
private var SeqFactoryClass : Symbol = null
34
34
private var symmetricOperations : Set [Symbol ] = null
35
+ override val cpy = tpd.cpy
35
36
var optimize = false
36
37
37
38
override def prepareForUnit (tree : Tree )(implicit ctx : Context ): TreeTransform = {
You can’t perform that action at this time.
0 commit comments