immutable promise broken in unions?

tsbockman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jan 2 07:20:29 PST 2016


On Saturday, 2 January 2016 at 13:15:37 UTC, John Colvin wrote:
> Casting away immutable can sometimes be necessary (e.g. when 
> talking to other languages), so I'm not sure it should be 
> disallowed, but it'd be great if it was somehow easier to catch 
> these bugs.

It should be disallowed in @safe code, though.


More information about the Digitalmars-d-learn mailing list