November 12, 2013
https://d.puremagic.com/issues/show_bug.cgi?id=7069


Dicebot <public@dicebot.lv> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |public@dicebot.lv
           Severity|normal                      |major


--- Comment #2 from Dicebot <public@dicebot.lv> 2013-11-12 04:59:01 PST ---
This bug prevents std.concurrency from working as advertised (can't send immutable messages) : http://forum.dlang.org/post/faxtweqqvpkcgolxzwzs@forum.dlang.org

Raising importance to "major" because of that.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
February 15, 2014
https://d.puremagic.com/issues/show_bug.cgi?id=7069


Kapps <opantm2+dbugs@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |opantm2+dbugs@gmail.com
         Resolution|                            |FIXED


--- Comment #3 from Kapps <opantm2+dbugs@gmail.com> 2014-02-15 14:21:53 PST ---
This appears to have been fixed in git master: https://github.com/D-Programming-Language/phobos/commit/6e7eabbd42a7f2e3e555081e1b17893c3c18b6f8

import std.variant, std.stdio;

class Bob {}

void main() {
    immutable(Bob) bob = new immutable(Bob)();
    writeln(cast(void*)bob);
    Variant v = bob;

    immutable(Bob) bob2 = v.get!(immutable(Bob))();
    writeln(cast(void*)bob2);
}

Prints out

1091E4FF0
1091E4FF0

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------