After rebuilding a project, duplicate definition errors appear in source files in a dependent project
My SIMPLE-Editor project has a folder containing a large number of CBS files, and its
yamlfile includes a compile dependency on CBS-Editor. The names in those CBS files all resolve OK after cleaning the SIMPLE-Editor project. But if I change a Stratego file in CBS-Editor, then rebuild CBS-Editor,
duplicate definitionerrors appear in the CBS files. It seems the only way to make them disappear is to clean SIMPLE-Editor (which takes a couple of minutes for about 200 CBS files).
If the previous name analysis of the CBS files might have been invalidated by the rebuild of the CBS-Editor, I would expect the analysis to be removed altogether, requiring SIMPLE-Editor to be (manually or automatically) cleaned. Showing
duplicate definitionerrors where there are no errors is misleading.
I'm using Spoofax-2.0.0-beta1.Submitted by Peter Mosses on 28 April 2016 at 14:02
This seems to be fixed in the latest nightly. Reopen if it regresses.
Log in to post comments