http://d.puremagic.com/issues/show_bug.cgi?id=9975
Martin Nowak <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #12 from Martin Nowak <[email protected]> 2013-06-18 10:14:48 PDT --- (In reply to comment #11) > > auto result = get("http://example.com").parseJSON().sort!((a, b) => a["id"] > > < > > b["id"])(); > > That didn't compile for me, but I suppose it's supposed to assert in "swap" ? > OK, it's a bit longer. And yes it might fail in swap. auto result = get("http://example.com").parseJSON.array.sort!((a, b) => a["id"].uinteger < b["id"].uinteger)(); I added Andrei to the CC list, maybe he has a good idea how to solve this. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
