diff options
author | michelou <michelou@epfl.ch> | 2011-08-19 16:27:22 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2011-08-19 16:27:22 +0000 |
commit | bfb20c64a95c62af9c9e1b2bf8a38b97ea606c8f (patch) | |
tree | eb71a10dc72a88c9e15047dad09e6bcea9e4ec53 /src | |
parent | 7a5ea2758ed4377feedd00e2acbb16274116a910 (diff) | |
download | scala-bfb20c64a95c62af9c9e1b2bf8a38b97ea606c8f.tar.gz scala-bfb20c64a95c62af9c9e1b2bf8a38b97ea606c8f.tar.bz2 scala-bfb20c64a95c62af9c9e1b2bf8a38b97ea606c8f.zip |
fixed svn props and presentation check files
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/tests/core/AskCommands.scala | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/tests/core/AskCommands.scala b/src/compiler/scala/tools/nsc/interactive/tests/core/AskCommands.scala index 5454c2cc04..166d312125 100644 --- a/src/compiler/scala/tools/nsc/interactive/tests/core/AskCommands.scala +++ b/src/compiler/scala/tools/nsc/interactive/tests/core/AskCommands.scala @@ -1,3 +1,7 @@ +/* NSC -- new Scala compiler + * Copyright 2009-2011 Scala Solutions and LAMP/EPFL + * @author Martin Odersky + */ package scala.tools.nsc package interactive package tests.core @@ -58,7 +62,8 @@ trait AskReload extends AskCommand { /** Reload the given source files and wait for them to be reloaded. */ def askReload(sources: Seq[SourceFile])(implicit reporter: Reporter): Response[Unit] = { - reporter.println("reload: " + sources.mkString("", ", ", "")) + val sortedSources = (sources map (_.file.name)).sorted + reporter.println("reload: " + sortedSources.mkString(", ")) ask { compiler.askReload(sources.toList, _) @@ -108,6 +113,3 @@ trait AskType extends AskCommand { } } - - - |