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
Missing post-blit calls when copying a static array from a slice. #1608
Comments
Similar, but different buggy behavior for the same program in dmd: https://issues.dlang.org/show_bug.cgi?id=16197 |
@kinke: I guess the correct fix might be immediately obvious to you right now, after working on the other lifetime issues? The 3 elements are not necessary, by the way, just using 1 makes the output (and IR) easier to read. |
The fault is that in |
Fixed by #1609. |
This program exhibits buggy behavior:
This program fails to call POSTBLIT when copying from a slice-type, thus causing the number of CTOR/POSTBLITS to mismatch the number of DTORs.
Program's output:
Note the missing
POSTBLIT
printouts underslice rval -> arr {
...The text was updated successfully, but these errors were encountered: