diff options
author | Martin Odersky <odersky@gmail.com> | 2006-03-11 23:07:10 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-03-11 23:07:10 +0000 |
commit | 7cb7defbd4063d6c4cbd42a9222f51fe09346dab (patch) | |
tree | 799a8fddde6fa6a71e96d286fa13bbe98f7ab79f /src/compiler/scala/tools/nsc/Global.scala | |
parent | 74d770b456e0d907b35fae994ee4acb4a7fd3d63 (diff) | |
download | scala-7cb7defbd4063d6c4cbd42a9222f51fe09346dab.tar.gz scala-7cb7defbd4063d6c4cbd42a9222f51fe09346dab.tar.bz2 scala-7cb7defbd4063d6c4cbd42a9222f51fe09346dab.zip |
Bug fixes
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 978bbf1da0..12c99ba127 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -87,6 +87,7 @@ class Global(val settings: Settings, val reporter: Reporter) extends SymbolTable def error(msg: String) = reporter.error(null, msg); def warning(msg: String) = reporter.warning(null, msg); def inform(msg: String) = System.err.println(msg); + def inform[T](msg: String, value: T): T = { inform(msg+value); value } //reporter.info(null, msg, true); def informProgress(msg: String) = |