(via @matthewfarwell)
You will see a build error in the Problems View (scalac crashed with "file not found <path/to/deleted/file"). This won't go away until a restart.
The problem is in pendingSources, which are cleared only on successful builds.
- Create a new file with some (correct) code
- reference it from another file
- build
- introduce an error in the first file
- build
- delete the first file
- build
You will see a build error in the Problems View (scalac crashed with "file not found <path/to/deleted/file"). This won't go away until a restart.
The problem is in pendingSources, which are cleared only on successful builds.
Leave a comment
I need an extra step to see the problem. I need to edit the second file somehow, otherwise I get an error that the 'reference' cannot be found.
And it correctly disappear when I do a clean. So, there is a bit more to it than what can be reproduced with a simple test case.
I have seen the problem a lot when doing renaming of classes.
And it correctly disappear when I do a clean. So, there is a bit more to it than what can be reproduced with a simple test case.
I have seen the problem a lot when doing renaming of classes.
on 2014-04-25 15:10 *
By huitseeker
Assigned to set to huitseeker
Status changed from Accepted to Fixed
Removes pendingSources, which shadows sources
Fixes #1002070
Branch: master
Commit: scala-ide:0fbc8edc51
Fixes #1002070
Branch: master
Commit: scala-ide:0fbc8edc51
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|