[Issue 10859] Problem with array() of a map Range of simple tuples

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 20 09:06:03 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10859


monarchdodra at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monarchdodra at gmail.com
           See Also|                            |http://d.puremagic.com/issu
                   |                            |es/show_bug.cgi?id=9975


--- Comment #1 from monarchdodra at gmail.com 2013-08-20 09:06:00 PDT ---
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

-- 
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