Summary: Regression(master): ICE with template function and if
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Robert Clipsham <> 2012-02-01 
22:55:31 GMT ---
The following:
struct Logger {
    static void info()() {

void view() {
    if ( {
ICEs with git master @ dc7916071b60739dcc8c09e43ff3da5218b42ff2, giving the
following error:
dmd: statement.c:2520: virtual Statement* IfStatement::semantic(Scope*):
Assertion `condition->type' failed.

On linux x86_32. Note this still occurs if you make this into a valid test case
by overloading the info() method with one that returns bool.

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

Reply via email to