[Issue 13783] Function overload with rvalue `inout` parameter not selected when `enum` parameter implicitly converted to its base type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Dec 1 21:25:53 PST 2014


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

--- Comment #2 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/638cededda9082a6c43e8541c16930900de90fc3
Supplemental fix for issue 13783 in std.parallelism

`auto f(ref ubyte);` should not take an lvalue of `enum E : ubyte`.
Fixing 13783 will disallow the accepts-invalid bug.

https://github.com/D-Programming-Language/phobos/commit/ca2171d49ce58162e7489061588a2e2d3d5b1d8c
Merge pull request #2773 from 9rnsr/fix13783

Supplemental fix for issue 13783 in std.parallelism

--


More information about the Digitalmars-d-bugs mailing list