Thread overview
[Bug 133] New: Assertion toobj.c:258
May 10, 2006
d-bugmail
May 15, 2006
Thomas Kuehne
May 25, 2006
d-bugmail
May 10, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=133

           Summary: Assertion toobj.c:258
           Product: D
           Version: 0.150
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: benoit@tionex.de


class Foo : Bar {}
class FooT(V){}
class Bar : FooT!(int) {}
void main(){}

Results in this internal compiler Error:

dmd: toobj.c:258: virtual void ClassDeclaration::toObjFile(): Assertion
`structsize >= 8' failed.


-- 

May 15, 2006
d-bugmail@puremagic.com schrieb am 2006-05-10:
> class Foo : Bar {}
> class FooT(V){}
> class Bar : FooT!(int) {}
> void main(){}
>
> Results in this internal compiler Error:
>
> dmd: toobj.c:258: virtual void ClassDeclaration::toObjFile(): Assertion
> `structsize >= 8' failed.

Added to DStress as http://dstress.kuehne.cn/run/c/class_23_A.d http://dstress.kuehne.cn/run/c/class_23_B.d http://dstress.kuehne.cn/run/c/class_23_C.d http://dstress.kuehne.cn/run/c/class_23_D.d

Thomas


May 25, 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=133


bugzilla@digitalmars.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




------- Comment #2 from bugzilla@digitalmars.com  2006-05-25 04:23 -------
Fixed 0.158


--