From dcc8d01366ae5bc390e15feee6ac58f3830d347a Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Tue, 10 Nov 2009 11:38:16 +0000 Subject: Fixed one of the issues in the BuildManager men... Fixed one of the issues in the BuildManager mentioned in #2590, where adding a missing reference wasn't causing compilation of the dependent files. Still, the solution to the whole ticket requires some changes to the scala plugin itself. --- src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala index 41bb2ecabf..9317758498 100644 --- a/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala +++ b/src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala @@ -197,6 +197,8 @@ class RefinedBuildManager(val settings: Settings) extends Changes with BuildMana invalidate(file, "it references changed class", change) case Changed(Definition(name)) if (refs(name)) => invalidate(file, "it references changed definition", change) + case Added(Definition(name)) if (refs(name)) => + invalidate(file, "it references added definition", change) case _ => () } } -- cgit v1.2.3