www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18360] New: `static assert(false)` ignored / gagged

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 puremagic.com
          Reporter: timothee.cour2 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

--
Feb 03