Thread overview |
---|
April 17, 2007 [Issue 1159] New: Various mixins cause "CompileExp::semantic" message, some crash DMD | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1159 Summary: Various mixins cause "CompileExp::semantic" message, some crash DMD Product: D Version: 1.012 Platform: PC OS/Version: Windows Status: NEW Keywords: diagnostic, ice-on-invalid-code Severity: major Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: deewiant@gmail.com OtherBugsDependingO 1146 nThis: Some invalid mixins causing compiler crashes, in addition to the message "CompileExp::semantic('mixin(2)')\n2": -- void main() { cast(void)mixin(2); } -- void main() { "" ~ mixin(2).stringof; } -- char[] s = mixin(2).stringof; -- auto i = mixin(2); -- These result in only the message (and the expected errors), no crash: -- void main() { "" ~ mixin(2); } -- char[] s = mixin(2); -- int i = mixin(2); -- This one also results in the message and, strangely enough, compiles successfully (the statement is completely ignored): void main() { cast(void)mixin("2"); } Setting Bug 1146 to depend on this, although it's probably just another instance of the same bug, and could be set as being a duplicate. -- |
April 21, 2007 [Issue 1159] Various mixins cause "CompileExp::semantic" message, some crash DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1159 ------- Comment #1 from deewiant@gmail.com 2007-04-21 10:43 ------- The message has been removed in 1.013, but the first four still crash the compiler. -- |
April 23, 2007 [Issue 1159] Various mixins cause "CompileExp::semantic" message, some crash DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1159 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |All ------- Comment #2 from thomas-dloop@kuehne.cn 2007-04-23 12:54 ------- Added to DStress as http://dstress.kuehne.cn/nocompile/m/mixin_31_A.d http://dstress.kuehne.cn/nocompile/m/mixin_31_B.d http://dstress.kuehne.cn/nocompile/m/mixin_31_C.d http://dstress.kuehne.cn/nocompile/m/mixin_31_D.d http://dstress.kuehne.cn/nocompile/m/mixin_31_E.d -- |
April 27, 2007 [Issue 1159] Various mixins cause "CompileExp::semantic" message, some crash DMD | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1159 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from bugzilla@digitalmars.com 2007-04-27 14:58 ------- Fixed DMD 1.014 -- |
Copyright © 1999-2021 by the D Language Foundation