[Issue 10020] Error: cannot modify struct this Slot with immutable members
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 3 04:34:15 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10020
Maxim Fomin <maxim at maxim-fomin.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |maxim at maxim-fomin.ru
--- Comment #1 from Maxim Fomin <maxim at maxim-fomin.ru> 2013-05-03 04:34:13 PDT ---
Yes, this is known issue and was reported several times. Error message is
correct and refers to AA druntime implementation opaque data structure which is
hidden from user.
Root case (plus variations with inout, opEquals, AA arrays, etc...):
struct S
{
this(this){}
}
struct SS
{
const S s;
}
void main()
{
}
I think diagnostic shouldn't be fixed here because it is a design problem.
--
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