From ad328ff2c016787b99300e397549d15dc2965ed3 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 31 May 2011 05:08:53 +0000 Subject: Cleaning up power mode import issues (and the a... Cleaning up power mode import issues (and the amazing first power mode test) no review. --- test/files/run/repl-power.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/run/repl-power.scala (limited to 'test/files/run/repl-power.scala') diff --git a/test/files/run/repl-power.scala b/test/files/run/repl-power.scala new file mode 100644 index 0000000000..9f70ac4b68 --- /dev/null +++ b/test/files/run/repl-power.scala @@ -0,0 +1,10 @@ +import scala.tools.partest.ReplTest + +object Test extends ReplTest { + def code = """ +:power +// guarding against "error: reference to global is ambiguous" +global.emptyValDef // "it is imported twice in the same scope by ..." + """.trim +} + -- cgit v1.2.3