new ambiguity in recent JSGLR
Something broke in a recent change to JSGLR, the following ambiguity occurs in a WebDSL test:
var a := Set{};
amb(
VarDeclInitInferred(
“a”
, LargerThan(SmallerThan(Var(“Set”), Var(“String”)), SetCreation([]))
)
, VarDeclInitInferred(
“a”
, ObjectCreation(GenericSort(“Set”, [SimpleSort(“String”)]), [])
)
)The production for ObjectCreation is annotated with prefer, while LargerThan is not.
Submitted by Danny Groenewegen on 15 February 2011 at 15:57
Issue Log
On 15 February 2011 at 16:03 Lennart Kats commented:
Fixed in
r21977
. Turned out to be a table reading regression.
On 15 February 2011 at 16:03 Lennart Kats closed this issue.
On 15 February 2011 at 16:03 Lennart Kats tagged 1.0
On 15 February 2011 at 16:03 Lennart Kats tagged parser
On 15 February 2011 at 16:03 Lennart Kats tagged @lennartkats
Log in to post comments