[Issue 20683] errors in static assert do not halt compilation immediately
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 17 15:47:21 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=20683
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |razvan.nitu1305 at gmail.com
Resolution|--- |WONTFIX
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Having an error in the static assert expression does not mean that the
expression is false (or true). It means that a mistake has been made that needs
to be reported. The compiler is right to report the error and continue
compilation.
--
More information about the Digitalmars-d-bugs
mailing list