[Issue 17177] AutoImplement fails on function overload sets with "cannot infer type from overloaded function symbol"
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Feb 13 13:01:41 PST 2017
https://issues.dlang.org/show_bug.cgi?id=17177
--- Comment #1 from alexandru.ermicioi at gmail.com ---
I have made a pull request for this bug:
https://github.com/dlang/phobos/pull/5119
The problem was in generation of "parent" symbol for body code, that denoted
the super.overridenMember. In original version, it was a delegate to parent
method, and because of this, the compiler couldn't know which parent method
from overload set it has to choose.
Solved it with help of getMember traits. The idea is to alias "parent" to
overload set of super.overriddenMethod.
Note: decided to remove previous lines due to following issue:
https://issues.dlang.org/show_bug.cgi?id=12228
--
More information about the Digitalmars-d-bugs
mailing list