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
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
There is an ambiguity in the expression and type parser: (1 + 2) and (A&B)::foo()
The current lookahead will always assume the ( corresponds to an expression and then will be confused by the following ) after the B type.
Need to add a special case lookahead when parsing an expression to see if the (...) is followed by a ::. We may also want to deal with the <(... ambiguity as well where we need to distinguish the <(T)> case from the < (1+2) case.
The text was updated successfully, but these errors were encountered:
There is an ambiguity in the expression and type parser:
(1 + 2)
and(A&B)::foo()
The current lookahead will always assume the
(
corresponds to an expression and then will be confused by the following)
after theB
type.Need to add a special case lookahead when parsing an expression to see if the
(...)
is followed by a::
. We may also want to deal with the<(...
ambiguity as well where we need to distinguish the<(T)>
case from the< (1+2)
case.The text was updated successfully, but these errors were encountered: