diff options
author | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-03-07 10:29:04 +0000 |
---|---|---|
committer | Geoffrey Washburn <geoffrey.washburn@epfl.ch> | 2008-03-07 10:29:04 +0000 |
commit | f507f0ac4ceead4d48bed2aef70b7d37839c9589 (patch) | |
tree | b1c8a8cbe020815bb815f9bdd7964336ca742245 /src | |
parent | bee89ecede8fc4ab6316020a4970c936fcd05535 (diff) | |
download | scala-f507f0ac4ceead4d48bed2aef70b7d37839c9589.tar.gz scala-f507f0ac4ceead4d48bed2aef70b7d37839c9589.tar.bz2 scala-f507f0ac4ceead4d48bed2aef70b7d37839c9589.zip |
definitions.init doesn't really need to know ab...
definitions.init doesn't really need to know about firstPhase.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/Global.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/Global.scala b/src/compiler/scala/tools/nsc/Global.scala index 93bdc02d50..1c59d6d8bc 100644 --- a/src/compiler/scala/tools/nsc/Global.scala +++ b/src/compiler/scala/tools/nsc/Global.scala @@ -444,9 +444,9 @@ class Global(var settings: Settings, var reporter: Reporter) extends SymbolTable //Console.println("starting run: " + id) var currentUnit: CompilationUnit = _ curRun = this - val firstPhase = syntaxAnalyzer.newPhase(NoPhase) + private val firstPhase = syntaxAnalyzer.newPhase(NoPhase) phase = firstPhase - definitions.init // needs firstPhase and phase to be defined != NoPhase, + definitions.init // needs phase to be defined != NoPhase, // that's why it is placed here. /** Deprecation warnings occurred */ |