-
Notifications
You must be signed in to change notification settings - Fork 847
Parser: better tree for unfinished paren patterns #12065
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
Conversation
|
|
3c20801 to
1ad32fe
Compare
1ad32fe to
6d5a1a6
Compare
|
This is ready (again). |
| [<Test>] | ||
| let ``Let - Parameter - Paren 02 - Tuple`` () = | ||
| let parseResults = getParseResults """ | ||
| let f (x, y |
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 add a test for
let f (x,
thanks
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.
Also maybe
match () with
| (x,
| _ -> ()
and
match () with
| (x
| _ -> ()
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.
@dsyme Added for all cases.
TIHan
left a comment
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.
Looks good to me, should make tooling better in this area for everyone :)
In the following examples
(parens orstruct (were ignored:PR makes it properly produce paren patterns.