Thread overview |
---|
April 24, 2007 [Issue 1187] New: Segfault with syntax error in two-level mixin. | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1187 Summary: Segfault with syntax error in two-level mixin. Product: D Version: 1.013 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: clugdbug@yahoo.com.au Several kinds of syntax error seem to do it. ----------- void a(){ mixin(`mixin`); } ------------ and the next one doesn't segfault, but has no line number (identifier expected, not EOF): mixin(`mixin`); -- |
April 27, 2007 [Issue 1187] Segfault with syntax error in two-level mixin. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1187 thomas-dloop@kuehne.cn changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows |All ------- Comment #1 from thomas-dloop@kuehne.cn 2007-04-27 12:38 ------- Added to DStress as http://dstress.kuehne.cn/nocompile/m/mixin_36_A.d http://dstress.kuehne.cn/nocompile/m/mixin_36_B.d -- |
November 10, 2007 [Issue 1187] Segfault with syntax error in two-level mixin. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1187 davidl@126.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |davidl@126.com ------- Comment #2 from davidl@126.com 2007-11-09 19:38 ------- a patch: expression.c:4576 DeclarationExp::DeclarationExp(Loc loc, Dsymbol *declaration) : Expression(loc, TOKdeclaration, sizeof(DeclarationExp)) { assert(declaration); //no null declaration allowed this->declaration = declaration; } parse.c:2550 } Dsymbol *d = parseMixin(); if (d) s = new DeclarationStatement(loc, d); break; -- |
July 09, 2008 [Issue 1187] Segfault with syntax error in two-level mixin. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1187 clugdbug@yahoo.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from clugdbug@yahoo.com.au 2008-07-09 07:16 ------- Fixed DMD1.032 -- |
July 10, 2008 [Issue 1187] Segfault with syntax error in two-level mixin. | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1187 ------- Comment #4 from bugzilla@digitalmars.com 2008-07-09 22:38 ------- Fixed dmd 1.032 and 2.016 -- |
Copyright © 1999-2021 by the D Language Foundation