[dmd-internals] [D-Programming-Language/dmd] c0891d: fix Issue 13783 - Function overload with rvalue `i...
GitHub via dmd-internals
dmd-internals at puremagic.com
Sat Dec 6 08:54:08 PST 2014
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/dmd
Commit: c0891db6300eec0f6a088f4d021c81c4457a6dfa
https://github.com/D-Programming-Language/dmd/commit/c0891db6300eec0f6a088f4d021c81c4457a6dfa
Author: k-hara <k.hara.pg at gmail.com>
Date: 2014-12-02 (Tue, 02 Dec 2014)
Changed paths:
M src/mtype.c
M test/runnable/overload.d
Log Message:
-----------
fix Issue 13783 - Function overload with rvalue `inout` parameter not selected when `enum` parameter implicitly converted to its base type
The root issue is a flaw in the overload resolution mechanism.
For the function `auto f(ref T);`, an lvalue of `enum E : T` should not match.
Commit: b27e1501a970c158f78874bb6f71355b7d6f7c5a
https://github.com/D-Programming-Language/dmd/commit/b27e1501a970c158f78874bb6f71355b7d6f7c5a
Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
Date: 2014-12-06 (Sat, 06 Dec 2014)
Changed paths:
M src/mtype.c
M test/runnable/overload.d
Log Message:
-----------
Merge pull request #4177 from 9rnsr/fix13783
Issue 13783 - Function overload with rvalue `inout` parameter not selected when `enum` parameter implicitly converted to its base type
Compare: https://github.com/D-Programming-Language/dmd/compare/955caf0dda51...b27e1501a970
More information about the dmd-internals
mailing list