[Issue 10859] Problem with array() of a map Range of simple tuples
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Aug 28 02:06:06 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10859
--- Comment #4 from monarchdodra at gmail.com 2013-08-28 02:06:04 PDT ---
(In reply to comment #1)
> Kind of like #10690: Combination bug
>
> Array calls appender.
>
> appender calls opAssign on un-initilized memory (which is wrong: It should call
> emplace... but emplace is broken, so that wouldn't change much anyways)
>
> In any case, once inside Tuple.opAssign, the implementation will *swap*
> (correctly).
>
> Unfortunatly, since "this" is not initialized, an assert will trigger in
> "swap", as the string "points" to the other object.
>
> There are many steps involved for a "full" recovery, but I think that removing
> the "pointsTo" assertion in "swap" is the first step:
> http://d.puremagic.com/issues/show_bug.cgi?id=9975#c14
> https://github.com/D-Programming-Language/phobos/pull/1390
Still same symptoms as 10690: Not fixed because appender calls opAssign.
--
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