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
foo :: { Int }
: int { $1 }
foo :: { Int }
: int { $1 + 4 }
Happy should not accept this - it should complain that I've defined foo twice. Right now, it just silently picks one of the two.
Consider the following shorter grammar:
foo :: { Int }
foob
: int { $1 }
Happy should not accept this - it should complain that the name foob does not match the expected name foo. Right now, it just uses foo and ignores foob completely.
The text was updated successfully, but these errors were encountered:
Consider the following short grammar:
Happy should not accept this - it should complain that I've defined
foo
twice. Right now, it just silently picks one of the two.Consider the following shorter grammar:
Happy should not accept this - it should complain that the name
foob
does not match the expected namefoo
. Right now, it just usesfoo
and ignoresfoob
completely.The text was updated successfully, but these errors were encountered: