On Tuesday, 6 March 2018 at 11:03:24 UTC, Nemanja Boric wrote:
title = title.dup; // doesn't work anymore
Strange! You're right it does not when the type declares a member
as const, yet:
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis
wrote (in the article):
And if an object is const or immutable, then that's all of
...does not prevent the postblit from working whenthe object is
declared const by user.
I think we have a bug here. I believe postblits should behave
like constructors in both events.