-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
serve-d complains when on assignment in conditional expression #228
Comments
this actually seems to be new syntax since 2.097.2 that you are allowed to use variable declarations as conditions inside while loops that's not yet supported in libdparse: https://dlang.org/changelog/2.097.0.html#while-condition-assignment |
Should I open an issue in libdparse then? |
yes, should be fixed soon too |
(still needs libdparse update here) |
|
yep, stable release is in preparation and dependencies are updated as well |
Description
Serve-d tells me that the code below should result in an Error despite it compiling fine.
![2022-06-03_10:55:50](https://user-images.githubusercontent.com/100315855/171813379-8ebe996b-3c52-461c-b243-9c14df3c4e0d.png)
Setup
Steps to reproduce
The text was updated successfully, but these errors were encountered: