Parser: recover on unfinished constructors#15440
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: