[Issue 11915] Inconsistent overload resolution behaviour between `ref` and `out`

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 25 21:01:07 PDT 2014


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

Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |rejects-valid
           Severity|minor                       |major

--- Comment #4 from Kenji Hara <k.hara.pg at gmail.com> ---
(In reply to Denis Shelomovskij from comment #0)
> This is either "accepts-invalid" or "rejects-valid" bug.

OK, finally I changed my mind. In that case g(n) should match to non-out
parameter.

https://github.com/D-Programming-Language/dmd/pull/4091

--


More information about the Digitalmars-d-bugs mailing list