Skip to content
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

Support delclarations in switch statements switch(auto x = expr) #504

Closed
Mai-Lapyst opened this issue Oct 9, 2023 · 0 comments · Fixed by #505
Closed

Support delclarations in switch statements switch(auto x = expr) #504

Mai-Lapyst opened this issue Oct 9, 2023 · 0 comments · Fixed by #505

Comments

@Mai-Lapyst
Copy link
Contributor

DScanner complains when using the new syntax to allow variable declarations in switch headers:

image

PR for feature into dmd: dlang/dmd#15656
PR for spec update: dlang/dlang.org#3702

@WebFreak001 WebFreak001 transferred this issue from dlang-community/D-Scanner Oct 9, 2023
Mai-Lapyst added a commit to Mai-Lapyst/libdparse that referenced this issue Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant