Ever since I updated the vscode extension of rascal to version 0.11.2, I have been getting ambiguity warnings and errors when I try to test my syntax. I downgraded back to 0.11.1 and it works as it used to. I even tried it with other previous versions of the extension and they work like they should. What could be the cause?
This is a short example of what my codebase looks like.
module lang::testlang::Expressions
extend lang::std::Layout;
extend lang::exprlang::grammar::Expressions;
start syntax Program = Expr;
syntax Expr
= :neq2
> left hashExp: Expr "#" Expr
;
With version 0.11.2 it returns an ambiguity error for a simple example like 2+2
but not 2 + 2
. Testing out this same thing with 0.11.1 does not give me the warnings or return an ambiguity error
Hassan Ayomide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.