https://issues.dlang.org/show_bug.cgi?id=15192

--- Comment #1 from Walter Bright <[email protected]> ---
Simplified:

  ref int fun(ref int x) @safe
  {
    ref int bar(){ return x; }
    return bar();
  }

This is a failure to detect that parameter x should be marked as 'return ref',
not just 'ref'.

--

Reply via email to