what happened |
Right now there is no way to inform NSC that a class file it has previously loaded has changed. As a result, the\
IDE cannot manage inter-project dependencies correctly. Note: the class file may be generated from a Java file,\
so pumping source code into the compiler instance is not viable.
Alternatively, we could just have NSC validate that a classfile is not out of date with the classfile that is a\
lready loaded (I thought that it already does this source files, but seems like that is only in the non-resident\
compiler). This is what the JDT does, which means a Java project can automatically detect when Scala files have\
changed. We have to do something like this if we want Scala projects to reciprocate.
|