[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:43:14 PDT 2013


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



--- Comment #2 from jens.k.mueller at gmx.de 2013-05-03 04:43:13 PDT ---
(In reply to comment #1)
> 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.

Many thanks for the prompt reply.
Can you make this report a duplicate then? I haven't found related issues.
The problem is then the AA implementation, right? Any schedule on when it will
be fixed?

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