[Issue 18360] New: `static assert(false)` ignored / gagged
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 3 09:27:29 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18360
Issue ID: 18360
Summary: `static assert(false)` ignored / gagged
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: major
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: timothee.cour2 at gmail.com
after `git clone https://github.com/dlang/dmd`
git rev-parse HEAD
e17992f4b7707b6ce6ba26921cb7420732fe5afd
(but shouldn't matter)
dmd -o- -I/path/dlang/dmd/src fun.d
fun.d:
```
static assert(false);
import dmd.dsymbol;
```
/path/dlang/dmd/src/dmd/dsymbol.d(181): Error: undefined identifier Symbol, did
you mean class Dsymbol?
related: https://issues.dlang.org/show_bug.cgi?id=11633
--
More information about the Digitalmars-d-bugs
mailing list