Returning the address of a reference return value in @safe code - 2.072 regression?

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Feb 22 04:59:03 PST 2017


On Monday, 20 February 2017 at 20:49:43 UTC, Johan Engelen wrote:
> The error is: "cannot take address of ref return of this.foo() 
> in @safe function bar".

Maybe a bugfix in safety system? Should it go through deprecation 
process?


More information about the Digitalmars-d-learn mailing list