[Issue 7250] New: [UFCS] UFCS chaining doesn't work
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 8 18:56:02 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7250
Summary: [UFCS] UFCS chaining doesn't work
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
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> 2012-01-08 18:55:59 PST ---
import std.algorithm, std.array;
void main() {
auto arr = [1, 2, 3, 4, 5];
int toAdd = 42;
auto arr2 = arr.map!(a => a + toAdd)().array();
}
test.d(6): Error: no property 'array' for type '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