Skip to content

Commit 0f18a00

Browse files
committed
Fixes checkinit build failure caused by quasiquotes pull request
The failure was caused by recent refactoring that moved fields that are expected by reflection Reifier from early init block to the body of the class. According to checkinit this may cause initialization issues although they do not really happen in real life as most of these fields aren't used during quasiquotes' reification.
1 parent 8b41240 commit 0f18a00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/compiler/scala/tools/reflect/quasiquotes/Reifiers.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ trait Reifiers { self: Quasiquotes =>
1515

1616
abstract class Reifier extends {
1717
val global: self.global.type = self.global
18+
val universe = self.universe
19+
val reifee = EmptyTree
20+
val mirror = EmptyTree
21+
val concrete = false
1822
} with ReflectReifier {
19-
val reifee = EmptyTree
20-
val universe = self.universe
21-
val mirror = EmptyTree
22-
val concrete = false
2323
lazy val typer = throw new UnsupportedOperationException
2424

2525
def isReifyingExpressions: Boolean

0 commit comments

Comments
 (0)