summaryrefslogblamecommitdiff
path: root/test/files/run/repl-power.check
blob: 9561c04eca630f15aaad51e56b73703c731a20cf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                              





                                                                             
Type in expressions to have them evaluated.
Type :help for more information.

scala> :power
** Power User mode enabled - BEEP BOOP WHIR **
** scala.tools.nsc._ has been imported      **
** global._ and definitions._ also imported **
** New vals! Try repl, intp, global, power  **
** New cmds! :help to discover them         **
** New defs! Type power.<tab> to reveal     **

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

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

scala>