[Issue 16665] static assert is only checked after the following dependent type declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 12 13:58:19 UTC 2024
https://issues.dlang.org/show_bug.cgi?id=16665
Manu <turkeyman at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical
--- Comment #5 from Manu <turkeyman at gmail.com> ---
I got rid of everything, this is all that's left:
```
static assert(0, "unsupported system");
@system time_t mktime(scope tm* timeptr);
```
No version's, no imports, nothing... even in this code, here's the compiler's
output:
time.d(20): error : undefined identifier `tm`
Why did it complain about `tm` but not `time_t`?
Why did it completely ignore the static assert?
I'm raising the importance on this bug... it's actually severe.
--
More information about the Digitalmars-d-bugs
mailing list