-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
__vector << int produce ICE, should be illegal? #3606
Labels
Comments
I disagree, this should be legal, because |
I have no opinion about this ¯_(ツ)_/¯ |
This kind of expression does work in the latest GDC available in Godbolt as of 2023-06-12. |
kinke
added a commit
to kinke/ldc
that referenced
this issue
Nov 13, 2024
kinke
added a commit
to kinke/ldc
that referenced
this issue
Nov 13, 2024
kinke
added a commit
to kinke/ldc
that referenced
this issue
Nov 13, 2024
kinke
added a commit
to kinke/ldc
that referenced
this issue
Nov 13, 2024
kinke
added a commit
that referenced
this issue
Nov 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following program crashes LDC 1.24.0 and below too:
Output with LDC 1.24:
DMD output is correct:
Interestingly it used to work in LDC 1.4.0 but doesn't since LDC 1.5.0 in Godbolt: https://d.godbolt.org/z/3Eb47n
The text was updated successfully, but these errors were encountered: