On Thursday, 15 March 2018 at 10:55:16 UTC, Mike Parker wrote: > > class A { > private int _value = 12; > > int value() @property { return _value; } > void updateValue() { value = 13; } > } > > ... > auto a = new A(); > writeln(a.value); > a.updateValue(); > writeln(a.value); Sorry. I overlooked that B.a is const.