diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/t3895b.scala | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/files/run/t3895b.scala b/test/files/run/t3895b.scala index fd74aab125..a74f7b2ead 100644 --- a/test/files/run/t3895b.scala +++ b/test/files/run/t3895b.scala @@ -1,5 +1,4 @@ -class DryRun -{ +class DryRun { import scala.tools.nsc.{Global, Settings, CompilerCommand} import scala.tools.nsc.reporters.ConsoleReporter @@ -7,12 +6,10 @@ class DryRun settings.classpath.value = System.getProperty("java.class.path") val command = new CompilerCommand(List(), settings) val reporter = new ConsoleReporter(settings, scala.Console.in, new java.io.PrintWriter(new java.io.PrintStream(scala.Console.out))) - object compiler extends Global(command.settings, reporter) - { + object compiler extends Global(command.settings, reporter) { object test1 lazy val test2 = 1 object test3 - } def test { compiler.test1 |