summaryrefslogtreecommitdiff
path: root/test/files/run/repl-power.check
blob: 38e7532133fb572e692630764b0c7352f74ea0cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Type in expressions to have them evaluated.
Type :help for more information.

scala> :power
** Power User mode enabled - BEEP BOOP SPIZ **
** :phase has been set to 'typer'.          **
** scala.tools.nsc._ has been imported      **
** global._ and definitions._ also imported **
** Try  :help,  vals.<tab>,  power.<tab>    **

scala> // guarding against "error: reference to global is ambiguous"

scala> global.emptyValDef  // "it is imported twice in the same scope by ..."
res0: $r.global.emptyValDef.type = private val _ = _

scala>