summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala
index 9317758498..8f36f1beec 100644
--- a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala
+++ b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala
@@ -117,6 +117,15 @@ class RefinedBuildManager(val settings: Settings) extends Changes with BuildMana
// a new top level definition, no need to process
}
}
+ // Create a change for the top level classes that were removed
+ val removed = definitions(src) remove ((s: Symbol) =>
+ syms.find(_.fullNameString == s.fullNameString) match {
+ case None => false
+ case _ => true
+ })
+ for (sym <- removed) {
+ changesOf(sym) = List(removeChangeSet(sym))
+ }
}
}
println("Changes: " + changesOf)