-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix property parsing when it contains parantheses #48598
Conversation
src/Compilers/VisualBasic/Test/Syntax/Parser/ParserRegressionTests.vb
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with the redundant else removed.
@dotnet/roslyn-compiler for a second review. |
src/Compilers/VisualBasic/Test/Syntax/Parser/ParserRegressionTests.vb
Outdated
Show resolved
Hide resolved
Done with review pass (iteration 3) |
@fred333 @AlekseyTs Can you give this another look? |
@Youssef1313 It looks like |
Public ReadOnly Property NumberOfResult1() String Integer JohnDoe WwwIIWww Wow | ||
Public ReadOnly Property NumberOfResult2() Some unexpected tokens As Integer | ||
|
||
Public ReadOnly Property NumberOfResult3() ' With comment - no errors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please also add a version with bad text in between the parens and the comment/line continuation below?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (iteration 11)
@Youssef1313 Thanks for the contribution! |
Fixes #48587