Thread overview |
---|
October 03, 2007 [Issue 1546] New: GDC unable parse static data in switch/case | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1546 Summary: GDC unable parse static data in switch/case Product: DGCC aka GDC Version: 0.23 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P1 Component: Phobos AssignedTo: dvdfrdmn@users.sf.net ReportedBy: binghe15@yeah.net Just like this: void main() { switch(1) { case 0: static int a = 0; case 1: static int a = 1; } } -- |
October 03, 2007 [Issue 1546] GDC unable parse static data in switch/case | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1546 ------- Comment #1 from binghe15@yeah.net 2007-10-03 13:21 ------- Created an attachment (id=187) --> (http://d.puremagic.com/issues/attachment.cgi?id=187&action=view) test case -- |
October 03, 2007 [Issue 1546] GDC unable parse static data in switch/case | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1546 binghe15@yeah.net changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P2 -- |
October 03, 2007 [Issue 1546] GDC unable parse static data in switch/case | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1546 dvdfrdmn@users.sf.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #2 from dvdfrdmn@users.sf.net 2007-10-03 17:08 ------- Fixed in svn rev 149 / release 0.25 -- |
Copyright © 1999-2021 by the D Language Foundation