-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A syntax error is missing for a misplaced ColonColon token in explicit interface implementation. #53021
Comments
Fixing this bug would be a breaking change. Is the breaking change acceptable in this case? If it's acceptable, let me know and I can debug it. With a quick look - I suspect the following condition should be moved up outside its containing roslyn/src/Compilers/CSharp/Portable/Parser/LanguageParser.cs Lines 5974 to 5978 in c30efad
i.e, currently the above check doesn't flow in the following path:
(Not much confident without debugging it) |
I think the fix is actually to report ERR_AliasQualAsExpression here
|
However, it looks like ERR_UnexpectedAliasedName would be more appropriate for the |
Observed: No errors
Expected: A syntax error
The text was updated successfully, but these errors were encountered: