You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is another in a series of some ambiguities and improvements that I'm finding with the newest version of trparse with the --ambig option to display ambiguous parses.
The two parse trees for Decision d=79 (rule unannReferenceType) are ambiguous for alts 1 and 2 at "S" in input "S s = new S();. "S" in either alt is a typeIdentifier -> Identifier. It's all the same thing: a dotIdChain: identifier ('.' identifier)*;`.
The text was updated successfully, but these errors were encountered:
This is another in a series of some ambiguities and improvements that I'm finding with the newest version of trparse with the
--ambig
option to display ambiguous parses.Input: in.txt
Ambig trees:
unannReferenceType/unannClassOrInterfaceType/unannTypeVariable
From the JLS20,
Notes
. "S" in either alt is a typeIdentifier -> Identifier. It's all the same thing: a
dotIdChain: identifier ('.' identifier)*;`.The text was updated successfully, but these errors were encountered: