July 23, 2007 [Issue 1365] New: wchar/dchar in foreach causes CTFE to fail | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=1365 Summary: wchar/dchar in foreach causes CTFE to fail Product: D Version: 1.019 Platform: PC OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: bugzilla@digitalmars.com ReportedBy: samukha@voliacable.com Is it supposed to work? If not, the specs should be put in sync. char[] foo() { char[] s = "a string"; foreach (dchar c; s) { } return ""; } void main(char[][] args) { static x = foo(); } -- |
September 29, 2007 [Issue 1365] wchar/dchar in foreach causes CTFE to fail | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=1365 bugzilla@digitalmars.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #1 from bugzilla@digitalmars.com 2007-09-28 22:08 ------- Fixed dmd 1.021 and 2.004 -- |
Copyright © 1999-2021 by the D Language Foundation