diff options
author | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-06-01 08:04:19 +0000 |
---|---|---|
committer | Sean McDirmid <sean.mcdirmid@gmail.com> | 2008-06-01 08:04:19 +0000 |
commit | ba33786e9b0247bc8c796dddbbed1c69905c667e (patch) | |
tree | 5babffd217565e5b12048a8fad063e582adfa4cd /src/compiler/scala/tools/nsc/CompilationUnits.scala | |
parent | 7569442847c4d34e02e915125c475cc5449f12d9 (diff) | |
download | scala-ba33786e9b0247bc8c796dddbbed1c69905c667e.tar.gz scala-ba33786e9b0247bc8c796dddbbed1c69905c667e.tar.bz2 scala-ba33786e9b0247bc8c796dddbbed1c69905c667e.zip |
Various bugfixes and upgrades to IDE support de...
Various bugfixes and upgrades to IDE support dealing with case
classes/companion objects, lazy val's, and dependency tracking.
Diffstat (limited to 'src/compiler/scala/tools/nsc/CompilationUnits.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/CompilationUnits.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/CompilationUnits.scala b/src/compiler/scala/tools/nsc/CompilationUnits.scala index 48026e3b4a..3bac2f7525 100644 --- a/src/compiler/scala/tools/nsc/CompilationUnits.scala +++ b/src/compiler/scala/tools/nsc/CompilationUnits.scala @@ -26,6 +26,9 @@ trait CompilationUnits { self: Global => * To get their sourcefiles, you need to dereference with .sourcefile */ val depends = new HashSet[Symbol] + /** so we can relink + */ + val defined = new HashSet[Symbol] /** Synthetic definitions generated by namer, eliminated by typer. */ @@ -79,6 +82,7 @@ trait CompilationUnits { self: Global => body = null depends.clear errorPositions.clear + defined.clear } } } |