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 <[email protected]>
  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 <[email protected]>
  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
_______________________________________________
dmd-internals mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-internals

Reply via email to