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
review: remove api of consumeExpectedToken for multiple token kinds
- using `consumeExpectedToken` with multiple expected tokens leads to
poor handling of diagnostic messaging and would largely be used in cases
where more specific errors could be done
- instead we should limit the api to just using `consumeExpectedToken`
with only a specific token and to only be used when it is very clear
that only one specific token should follow after another
0 commit comments