diff options
author | Martin Odersky <odersky@gmail.com> | 2006-11-22 16:22:05 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2006-11-22 16:22:05 +0000 |
commit | 4af77453d44c809c1ac06e78a8b698e2ef28a79d (patch) | |
tree | 1ac21e83729ff3cac7af9a6d34b34ea8a7109faf /src/compiler/scala/tools/nsc/Global.scala | |
parent | f7e598a6a96719eed46c2c9e8f2a8e74e5533d24 (diff) | |
download | scala-4af77453d44c809c1ac06e78a8b698e2ef28a79d.tar.gz scala-4af77453d44c809c1ac06e78a8b698e2ef28a79d.tar.bz2 scala-4af77453d44c809c1ac06e78a8b698e2ef28a79d.zip |
1.
2. Modified ambiguous check for implicits.
3. Cleanup of AddInterfaces
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 7e88d0dd13..eebbf739ed 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -390,6 +390,7 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable /** Deprecation warnings occurred */ var deprecationWarnings: boolean = false + var uncheckedWarnings: boolean = false private var p: Phase = firstPhase private var stopped = false @@ -497,6 +498,9 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable if (deprecationWarnings) { warning("there were deprecation warnings; re-run with -deprecation for details") } + if (uncheckedWarnings) { + warning("there were unchecked warnings; re-run with -unchecked for details") + } } else { for (val Pair(sym, file) <- symSource.elements) { sym.reset(new loaders.SourcefileLoader(file)) |