blob: 6a364ff0be822ac6977229d23e1ed5f780ad7b6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package scala
package reflect
package runtime
import internal.{SomePhase, NoPhase, Phase}
/** A helper trait to initialize things that need to be set before JavaMirrors and other
* reflect specific traits are initialized */
private[runtime] trait ReflectSetup extends internal.SymbolTable {
override val phaseWithId: Array[Phase] = Array(NoPhase, SomePhase)
override val currentRunId = 1 // fake a run id so that it is different from NoRunId
phase = SomePhase // set to a phase different from NoPhase
}
|