fsharp icon indicating copy to clipboard operation
fsharp copied to clipboard

[Parser recovery] DU type without `=` sign

Open smoothdeveloper opened this issue 2 years ago • 0 comments

I'm wondering if this is tracked and if not, if this would be possible to recover from:

type TrackIndexOrHardwareTrackIndex
| HardwareTrack of int
| VirtualTrack of TrackIndex

image

VS 2022 has a code fixer for this, but maybe it is possible to recover and not break parsing and tooling for remaining of the document?

Related: #11481

smoothdeveloper avatar Dec 02 '23 07:12 smoothdeveloper