[Issue 14609] New: Github HEAD: DMD assertion failure for valid code

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 19 18:30:50 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14609

          Issue ID: 14609
           Summary: Github HEAD: DMD assertion failure for valid code
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: puneet at coverify.org

Reduced code. Compiles with latest dmd release. Assertion failure with Github
HEAD.

$ dmd -c test.d
dmd: attrib.c:1190: virtual Dsymbols* StaticIfDeclaration::include(Scope*,
ScopeDsymbol*): Assertion `scope' failed.
Aborted

// test.d
interface Foo(T) {
  static if(is(T == int)) public int bar();
}
class Frop: Foo!int {
  public int bar() { return 0; }
}

--


More information about the Digitalmars-d-bugs mailing list