[Issue 9975] pointsTo asserts because of false pointer in union
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 18 10:14:51 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9975
Martin Nowak <code at dawg.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrei at erdani.com
--- Comment #12 from Martin Nowak <code at dawg.eu> 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: -------
More information about the Digitalmars-d-bugs
mailing list