[Issue 8956] Ability to break typesystem with constructor/postblit/destructor (e.g. modify immutable)

2013-07-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8956


Maxim Fomin ma...@maxim-fomin.ru changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||ma...@maxim-fomin.ru
 Resolution||FIXED


--- Comment #3 from Maxim Fomin ma...@maxim-fomin.ru 2013-07-10 08:29:36 PDT 
---
It was fixed in 2.063 (now ctor attributes should correspond to those in
variable declarations).

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


[Issue 8956] Ability to break typesystem with constructor/postblit/destructor (e.g. modify immutable)

2012-11-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8956


Stewart Gordon s...@iname.com changed:

   What|Removed |Added

   Keywords||accepts-invalid
 CC||s...@iname.com
 Blocks||2573


--- Comment #2 from Stewart Gordon s...@iname.com 2012-11-04 16:52:41 PST ---
this(int* i) has no const/immutable qualifier.  As such, if I remember
correctly, the compiler should not be allowing it to be used to construct an
immutable instance.  In any case, it's a bug that it accepts the call to it to
construct an immutable without having first checked that it's still valid when
the this pointer is immutable.

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


[Issue 8956] Ability to break typesystem with constructor/postblit/destructor (e.g. modify immutable)

2012-11-03 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8956


Denis Shelomovskij verylonglogin@gmail.com changed:

   What|Removed |Added

 Depends on||8958


--- Comment #1 from Denis Shelomovskij verylonglogin@gmail.com 2012-11-03 
18:01:11 MSK ---
The first fix proposal: Issue 8958

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