diff options
Diffstat (limited to 'test/files/run/repl-power.check')
-rw-r--r-- | test/files/run/repl-power.check | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/files/run/repl-power.check b/test/files/run/repl-power.check new file mode 100644 index 0000000000..249e0f71e8 --- /dev/null +++ b/test/files/run/repl-power.check @@ -0,0 +1,18 @@ +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> +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> |