Skip to content

[Parser recovery] DU type without = sign #16367

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

Open
smoothdeveloper opened this issue Dec 2, 2023 · 0 comments
Open

[Parser recovery] DU type without = sign #16367

smoothdeveloper opened this issue Dec 2, 2023 · 0 comments
Assignees
Labels
Area-Compiler-Syntax lexfilter, indentation and parsing Feature Improvement
Milestone

Comments

@smoothdeveloper
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compiler-Syntax lexfilter, indentation and parsing Feature Improvement
Projects
Status: New
Development

No branches or pull requests

3 participants