Tasks should give their message at the start of the file if no origin info is available. Instead they just produce a wrong file-string right now, which reads “MISSING ORIGIN INFORMATION”. It’s obvious enough if you look at the tasks, but silently ignores valid error messages on parts of the AST that lost origin information. I don’t think it’s usually the case that you want error messages to disappear like that when the AST doesn’t have origin info there. Origin info is usually lost accidentally in my experience, not something you erase for these strange side-effects.

Relevant locations in the source are here and here.

Submitted by Jeff Smits on 3 August 2015 at 20:24

On 3 August 2015 at 20:28 Guido Wachsmuth tagged @guwac

On 29 September 2015 at 10:49 Gabriël Konat commented:

This is fixed in Spoofax Core

Log in to post comments