[Issue 19762] ICE on invalid code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Sep 27 19:59:31 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=19762
kinke <kinke at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
CC| |kinke at gmx.net
Hardware|x86_64 |All
Resolution|FIXED |---
OS|Windows |All
--- Comment #3 from kinke <kinke at gmx.net> ---
I'm reopening this, as the error msg is ridiculous, and the compiler shouldn't
make it to the codegen stage. When making `struct X` a `class X`, there's no
codegen with various follow-up issues, and the error msg is much better:
Error: undefined identifier Err, did you mean variable err?
--
More information about the Digitalmars-d-bugs
mailing list