diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-08-21 16:06:42 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-08-21 16:06:42 +0000 |
commit | 73e60c55bad9de264b94a2307850fda3d6afa157 (patch) | |
tree | 69aec01e0401933cd8fde4a142b560fb349a56fe /src/compiler | |
parent | ad5afb048714f63157499172ba12fd5a1b3ede02 (diff) | |
download | scala-73e60c55bad9de264b94a2307850fda3d6afa157.tar.gz scala-73e60c55bad9de264b94a2307850fda3d6afa157.tar.bz2 scala-73e60c55bad9de264b94a2307850fda3d6afa157.zip |
Some additional bits of output that should prob...
Some additional bits of output that should probably go to stderr.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/ScriptRunner.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/ScriptRunner.scala b/src/compiler/scala/tools/nsc/ScriptRunner.scala index 2ec3ece263..d2ed59b815 100644 --- a/src/compiler/scala/tools/nsc/ScriptRunner.scala +++ b/src/compiler/scala/tools/nsc/ScriptRunner.scala @@ -356,7 +356,7 @@ object ScriptRunner { { def fileToURL(f: File): Option[URL] = try { Some(f.toURL) } - catch { case e => Console.println(e); None } + catch { case e => Console.err.println(e); None } def paths(str: String, expandStar: Boolean): List[URL] = for ( @@ -392,7 +392,7 @@ object ScriptRunner { { val f = new File(scriptFile) if (!f.isFile) { - Console.println("no such file: " + scriptFile) + Console.err.println("no such file: " + scriptFile) return } |