[Issue 11288] New: dmd assertion when assigning to (static) opDispatch

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 17 04:50:27 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=11288

           Summary: dmd assertion when assigning to (static) opDispatch
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: alexander.breckel at gmail.com


--- Comment #0 from aneas <alexander.breckel at gmail.com> 2013-10-17 04:50:25 PDT ---
struct A {
  void opDispatch(string s, T)(T x) { // static doesn't work either
  }
}

void main() {
  A.test = true;
  // dmd: expression.c:10803: virtual Expression* AssignExp::semantic(Scope*):
Assertion `e1->type' failed.
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list