File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import Symbols._
1212import Constants ._
1313import Decorators ._
1414import DenotTransformers ._
15+ import dotty .tools .dotc .ast .Trees ._
1516
1617object CompleteJavaEnums {
1718 val name : String = " completeJavaEnums"
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class SyntheticMembers(thisPhase: DenotTransformer) {
122122 case nme.productElement => productElementBody(accessors.length, vrefss.head.head)
123123 }
124124 ctx.log(s " adding $synthetic to $clazz at ${ctx.phase}" )
125- synthesizeDef(synthetic, syntheticRHS)
125+ synthesizeDef(synthetic, treess => ctx => syntheticRHS(treess)(ctx) )
126126 }
127127
128128 /** The class
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ import ProtoTypes._
2626import ErrorReporting ._
2727import reporting .diagnostic .Message
2828import Inferencing .fullyDefinedType
29- import TypeApplications .EtaExpansion
3029import Trees ._
3130import transform .SymUtils ._
3231import transform .TypeUtils ._
You can’t perform that action at this time.
0 commit comments