Thread overview |
---|
January 12, 2008 [Issue 1783] New: DMD 1.025 asserts on code with struct, template, and alias | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1783 Summary: DMD 1.025 asserts on code with struct, template, and alias Product: D Version: unspecified Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: WinstonEwert@gmail.com The Code: module test; template T() { } struct S { alias T!() data; } unittest { S.data.V; } The Result: dmd: mtype.c:4262: virtual Expression* TypeStruct::dotExp(Scope*, Expression*, Identifier*): Assertion `d' failed. Aborted (core dumped) I'm running on Ubuntu, using Tango. I have to pass -unittest to induce the failure (naturally) -- |
January 12, 2008 [Issue 1783] DMD 1.025 asserts on code with struct, template, and alias | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1783 matti.niemenmaa+dbugzilla@iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code, ice-on- | |valid-code OS/Version|Linux |All Platform|PC |All Version|unspecified |1.025 ------- Comment #1 from matti.niemenmaa+dbugzilla@iki.fi 2008-01-12 03:12 ------- The unittest block and V aren't necessary, any access to data is enough: template T() {} struct S { alias T!() data; } void main() { S.data; } -- |
January 21, 2008 [Issue 1783] DMD 1.025 asserts on code with struct, template, and alias | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1783 matti.niemenmaa+dbugzilla@iki.fi changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Keywords|ice-on-valid-code | Resolution| |FIXED ------- Comment #2 from matti.niemenmaa+dbugzilla@iki.fi 2008-01-21 02:55 ------- Fixed in DMD 1.026. -- |
February 16, 2008 [Issue 1783] DMD 1.025 asserts on code with struct, template, and alias | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1783 ------- Comment #3 from bugzilla@digitalmars.com 2008-02-16 06:07 ------- Fixed dmd 1.026 and 2.010 -- |
Copyright © 1999-2021 by the D Language Foundation