My SIMPLE-Editor project has a folder containing a large number of CBS files, and its yaml file 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 definition errors 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 definition errors 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

On 19 May 2016 at 13:12 Gabriël Konat commented:

This seems to be fixed in the latest nightly. Reopen if it regresses.

On 19 May 2016 at 13:12 Gabriël Konat closed this issue.

Log in to post comments