Thread overview | |||||
---|---|---|---|---|---|
|
January 09, 2012 [Issue 7250] New: [UFCS] UFCS chaining doesn't work | ||||
---|---|---|---|---|
| ||||
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@puremagic.com ReportedBy: dsimcha@yahoo.com --- Comment #0 from David Simcha <dsimcha@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: ------- |
March 19, 2012 [Issue 7250] [UFCS] UFCS chaining doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=7250 Brad Anderson <eco@gnuk.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eco@gnuk.net --- Comment #1 from Brad Anderson <eco@gnuk.net> 2012-03-19 11:19:17 PDT --- I've tested and this works fine in 2.059 HEAD as of today. It should be closed (I'm not sure of the protocol who closes issues or I'd just close it myself). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
March 19, 2012 [Issue 7250] [UFCS] UFCS chaining doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=7250 bearophile_hugs@eml.cc changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bearophile_hugs@eml.cc Resolution| |FIXED --- Comment #2 from bearophile_hugs@eml.cc 2012-03-19 11:56:55 PDT --- This is now working. It's currently working even too much well (see Bug 7722 that already has a patch). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation