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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from David Simcha <[email protected]> 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: -------