We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tested in LDC 1.30.0 (Windows) This code:
enum Easing : float function(float x) { identity = (float x) => x } void main(){Easing.identity(1);}
Crashes ldc, if I used:
enum Easing : float function(float x) { identity = (x) => x } void main(){Easing.identity(1);}
Instead, it won't crash, though it will be templated when there's no reason to. Seems to be crashing LDC 1.29.0 on run.dlang.io(Linux) too:
#0 0x0000000004add8e3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/dlang/ldc-1.29.0/bin/ldc2+0x4add8e3) Error: Error executing /dlang/ldc-1.29.0/bin/ldc2: Trace/breakpoint trap (core dumped)
The text was updated successfully, but these errors were encountered:
This does not crash DMD.
Sorry, something went wrong.
Yes, it does not crash DMD. Although maxter just found a problem in DMD that actually crashes at runtime, I just documented the issue: https://issues.dlang.org/show_bug.cgi?id=23515
No branches or pull requests
Tested in LDC 1.30.0 (Windows)
This code:
Crashes ldc, if I used:
Instead, it won't crash, though it will be templated when there's no reason to.
Seems to be crashing LDC 1.29.0 on run.dlang.io(Linux) too:
The text was updated successfully, but these errors were encountered: