Skip to content

Commit dcc8d01

Browse files
author
Hubert Plociniczak
committed
Fixed one of the issues in the BuildManager men...
Fixed one of the issues in the BuildManager mentioned in scala#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.
1 parent 572adfa commit dcc8d01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/compiler/scala/tools/nsc/interactive/RefinedBuildManager.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ class RefinedBuildManager(val settings: Settings) extends Changes with BuildMana
197197
invalidate(file, "it references changed class", change)
198198
case Changed(Definition(name)) if (refs(name)) =>
199199
invalidate(file, "it references changed definition", change)
200+
case Added(Definition(name)) if (refs(name)) =>
201+
invalidate(file, "it references added definition", change)
200202
case _ => ()
201203
}
202204
}

0 commit comments

Comments
 (0)