-
Notifications
You must be signed in to change notification settings - Fork 844
Parser: recover on unfinished constructors #15440
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
2faa149 to
d497964
Compare
|
This is ready. 🙂 |
....Compiler.ComponentTests/Conformance/LexicalFiltering/OffsideExceptions/OffsideExceptions.fs
Outdated
Show resolved
Hide resolved
cfe570e to
2c59b21
Compare
|
Rebased on top of the |
|
/azp run |
|
Azure Pipelines successfully started running 2 pipeline(s). |
b396a11 to
ae81032
Compare
ae81032 to
6df9fa2
Compare
|
Alright, I've cherry picked the lost baseline update, and now it's green again 🙂 |
|
@auduchinok Would it make sense also to cover the case where unfinished code with a private constructor? type A =
private { // Error recovery if { is missing
_B: int
} // Error recovery if } is missing
static member Create(b) =
{ _B = b }
member this.B = this._B |
|
@edgarfgp There're no constructors in your code snippet. Speaking about a missing |
Thanks for the explanation :) |
Add recovery for various constructors: