[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-08-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

--- Comment #5 from anonymous4  ---
(In reply to Vladimir Panteleev from comment #3)
> I prefer the description on this bug but I'm a little biased ;)

This scenario needs dynamic initialization, and D requires an explicit
constructor for it for whatever reason, so disallowing is the the most
straightforward solution.

--


[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

--- Comment #4 from Steven Schveighoffer  ---
There's a certain extra weight attached to such a low bug number, especially
when it has so many duplicates.

--


[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

--- Comment #3 from Vladimir Panteleev  ---
Thanks. Definitely not surprised this was filed before. I prefer the
description on this bug but I'm a little biased ;)

--


[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

anonymous4  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from anonymous4  ---
Well, any type system violation is safety violation, so not sure about the
keyword.

*** This issue has been marked as a duplicate of issue 2947 ***

--


[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-08-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

Steven Schveighoffer  changed:

   What|Removed |Added

 CC||schvei...@yahoo.com

--- Comment #1 from Steven Schveighoffer  ---
Duplicate of 2947?

--


[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-07-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

Vladimir Panteleev  changed:

   What|Removed |Added

   Keywords||safe
   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=15612

--


[Issue 17604] Reject mutable fields initialized with reference types to data segment

2017-07-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17604

Vladimir Panteleev  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=13646

--