https://issues.dlang.org/show_bug.cgi?id=20245
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] | |rg Resolution|--- |WORKSFORME --- Comment #1 from [email protected] --- Works fine with current master: ---------------------------------------------- @safe int** foo(ref scope int* x) { int** a = &x; return a; } @safe int* fooRet(return ref int x) { int* a = &x; return a; } ---------------------------------------------- ./generated/linux/release/64/dmd -c -o- -dip1000 dip_escape.d dip_escape.d(3): Error: cannot take address of `scope` parameter `x` in `@safe` function `foo --
