[Issue 8422] [CTFE] TypeTuple of tuples can't be read at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 13 22:13:29 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8422



--- Comment #3 from github-bugzilla at puremagic.com 2012-09-13 22:13:42 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0e8ae4524b12421312e80507e434405c2422fa45
Fix issue 8422 TypeTuple of tuples can't be read at compile time

A tuple foreach over a struct literal, or an array literal, should be
considered
to be a const assignment, just as foreach over a numeric or string literal is.
The struct literal should not be considered to be an lvalue.

https://github.com/D-Programming-Language/dmd/commit/800e85d48b1811005dde9b992ffd19f02c048973
Extra test case (array literals) for bug 8422

https://github.com/D-Programming-Language/dmd/commit/165667223d4c4a99b530fe603df8d81e2fc7dd59
Merge pull request #1095 from donc/ctfe8422tuple_of_literals

Fix issue 8422 TypeTuple of tuples can't be read at compile time

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list