Summary: `assert(0)` is ignored in a function template
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Denis <> 2011-10-18 11:09:40 PDT 
An assertion is ignored in the following example iff `t` is a function template
and the first argument of the `assert` evaluates to zero at CT:
import std.stdio;

void t()() { assert(0, "Where am I?"); }

void main() {
    writeln("Where is he?");

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to