Renaming/moving SDF3 file causing duplicate definitions
On some installations of Eclipse (observed during the lab, especially on Windows machines), moving or renaming a file causes duplicate definitions. This is most likely caused by the old file not being removed from the index and task engine. Maybe Eclipse sends out different kinds of change notifications on some platforms or with certain settings.
Submitted by Gabriël Konat on 11 October 2013 at 11:49
Issue Log
On 11 October 2013 at 11:50 Gabriël Konat tagged lab
On 11 October 2013 at 11:50 Gabriël Konat tagged sdf
On 11 October 2013 at 11:50 Gabriël Konat tagged @gohla
On 11 October 2013 at 15:13 Gabriël Konat commented:
Can be reproduced as follows: Open an editor, rename the file corresponding to that editor, edit and save the file. Now it will analyze the new AND old file, causing duplicate definitions.
Related to: https://yellowgrass.org/issue/Spoofax/584
On 11 October 2013 at 16:53 Gabriël Konat removed tag @gohla
On 11 October 2013 at 17:01 Gabriël Konat commented:
Both IMP and Spoofax are made in such a way that they do not support a changing resource of an editor, I couldn’t find a way to fix this.
Log in to post comments