Why are immutable fields with initializers deprecated?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 29 10:09:01 PDT 2014


A recent discussion 
https://github.com/D-Programming-Language/dmd/pull/3452 brought up a 
matter I'd forgotten - struct fields that are immutable and have 
initializer are deprecated.

Why?

Andrei


More information about the Digitalmars-d mailing list