[Issue 5940] New: Cannot create arrays of std.algorithm.map
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 6 22:41:54 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5940
Summary: Cannot create arrays of std.algorithm.map
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dsimcha at yahoo.com
--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2011-05-06 22:38:00 PDT ---
import std.algorithm;
void main() {
auto stuff =
[map!"a * 2"([1, 2, 3]),
map!"a * 2"([4, 5, 6])
];
}
Result on DMD 2.053 beta:
test9.d(5): Error: cannot have array of inner structs Result
--
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