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

           Summary: dmd: glue.c:1065: virtual unsigned int Type::totym():
                    Assertion `0' failed.
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: iteronve...@gmail.com


--- Comment #0 from iteronve...@gmail.com 2011-12-27 07:56:11 PST ---
struct A{

  A opBinary(string op)(A a){ A rt; return rt; }

  void fun(){ }
}

struct B{

  A _a;
  alias _a this;
}


void main(){

  B b1, b2, b3; b3 = (b1 - b2).fun();
}


The above code causes:
dmd: glue.c:1065: virtual unsigned int Type::totym(): Assertion `0' failed.
Aborted

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

Reply via email to