Skip to content

Commit f680859

Browse files
authored
Merge pull request #6613 from milessabin/topic/really-unbreak-nightly-build
More build unbreakage
2 parents 610b72f + c9365c3 commit f680859

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/transform/CompleteJavaEnums.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import Symbols._
1212
import Constants._
1313
import Decorators._
1414
import DenotTransformers._
15+
import dotty.tools.dotc.ast.Trees._
1516

1617
object CompleteJavaEnums {
1718
val name: String = "completeJavaEnums"

compiler/src/dotty/tools/dotc/transform/SyntheticMembers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

compiler/src/dotty/tools/dotc/typer/Implicits.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import ProtoTypes._
2626
import ErrorReporting._
2727
import reporting.diagnostic.Message
2828
import Inferencing.fullyDefinedType
29-
import TypeApplications.EtaExpansion
3029
import Trees._
3130
import transform.SymUtils._
3231
import transform.TypeUtils._

0 commit comments

Comments
 (0)