Closed smithdtyler closed 5 years ago
This problem is due to the fact the parsed annex object is kept assigned to the result provided by the parser even though the parser reported errors. In class AnnexParserAgent, line 225, you can see that the second part of the conjunction has been commented. If you assign the parsed annex object to null when this condition is true (which is the case in your example) the strange error message disappears.
However, syntax highlighting will then be off (see #1864) and no error is reported (probably same issue as #891).
Closed via PR #1875
If I make a small error like swapping a colon and semicolon, OSATE flags the entire BA block as being an error.
The error message is unhelpfully complicated:
Environment