summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-12-22 15:37:52 +0000
committerMartin Odersky <odersky@gmail.com>2010-12-22 15:37:52 +0000
commitd5533fbf7020b316b77ea8f52eba96249eb6d881 (patch)
tree4ae03135d0cc9a5d6c28064e792070686c044ef4 /src
parent610fdb6b5ae6e6a7b74681f0623aefb937952cfe (diff)
downloadscala-d5533fbf7020b316b77ea8f52eba96249eb6d881.tar.gz
scala-d5533fbf7020b316b77ea8f52eba96249eb6d881.tar.bz2
scala-d5533fbf7020b316b77ea8f52eba96249eb6d881.zip
Reinstantiated the "integrateNew" functionality...
Reinstantiated the "integrateNew" functionality under the suspicion that this might solve some of the recent "tree not found" errors.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/interactive/Global.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/Global.scala b/src/compiler/scala/tools/nsc/interactive/Global.scala
index dbefdf4904..9640814216 100644
--- a/src/compiler/scala/tools/nsc/interactive/Global.scala
+++ b/src/compiler/scala/tools/nsc/interactive/Global.scala
@@ -82,8 +82,8 @@ self =>
*/
override def signalDone(context: Context, old: Tree, result: Tree) {
def integrateNew() {
-// Don't think this is needed anymore, therefore commented out:
-// context.unit.body = new TreeReplacer(old, result) transform context.unit.body
+ // Don't think this is needed anymore, let's see if we can remove
+ context.unit.body = new TreeReplacer(old, result) transform context.unit.body
}
if (activeLocks == 0) { // can we try to avoid that condition (?)
if (context.unit != null &&