diff options
author | Paul Phillips <paulp@improving.org> | 2011-07-18 21:05:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-07-18 21:05:05 +0000 |
commit | 658ba1b4e6898df65119f9cb6488ed8908c399ef (patch) | |
tree | b25a6f9ecf41b5896520ccc150a0a2e861960f40 /src/compiler/scala/tools/nsc/Global.scala | |
parent | b2a1ced1a720f1427ad573d8c7d26a4561626f88 (diff) | |
download | scala-658ba1b4e6898df65119f9cb6488ed8908c399ef.tar.gz scala-658ba1b4e6898df65119f9cb6488ed8908c399ef.tar.bz2 scala-658ba1b4e6898df65119f9cb6488ed8908c399ef.zip |
Fixed adriaan's patch for type constructor infe...
Fixed adriaan's patch for type constructor inference. The problem with
haranguing people in bars about bugs is that the fixes with which they
provide you may be flawed. Fortunately moors has this novelist on
retainer. Review by moors.
Diffstat (limited to 'src/compiler/scala/tools/nsc/Global.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index e2c53b9676..5847563a63 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -281,9 +281,10 @@ class Global(var currentSettings: Settings, var reporter: Reporter) extends Symb def profileMem = settings.YprofileMem.value // shortish-term property based options - def timings = sys.props contains "scala.timings" + def timings = (sys.props contains "scala.timings") def inferDebug = (sys.props contains "scalac.debug.infer") || settings.Yinferdebug.value def typerDebug = (sys.props contains "scalac.debug.typer") || settings.Ytyperdebug.value + def lubDebug = (sys.props contains "scalac.debug.lub") } // True if -Xscript has been set, indicating a script run. |