[Issue 19928] disallow modification of immutable in constructor after calling base ctor

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jun 4 16:05:27 UTC 2019


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

--- Comment #5 from Andrei Alexandrescu <andrei at erdani.com> ---
So a solution to the super() issue would be to require the immutable fields are
assigned before calling super(). It is odd but it works.

--


More information about the Digitalmars-d-bugs mailing list