Walter and I have had a discussion on how to finalize properties.http://wiki.dlang.org/DIP23 [..]
What happens here?
struct S
{
int _n;
@property ref int prop()
{
return _n;
}
}
@property void prop(ref S s, int n)
{
s._n = 42;
}
void main()
{
S s;
s.prop = 10;
}
