[Issue 18977] struct and class declarations are inconsistent about what happens when they're marked with immutable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Mar 13 08:55:38 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=18977

FeepingCreature <default_357-line at yahoo.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |default_357-line at yahoo.de

--- Comment #2 from FeepingCreature <default_357-line at yahoo.de> ---
What difference is there for a struct between all fields being immutable and
the struct itself being immutable? I can't think of one.

--


More information about the Digitalmars-d-bugs mailing list