[Issue 8983] Overload introduced behind mixin template can't be called from another overload
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 9 04:34:37 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8983
--- Comment #4 from Max Samukha <samukha at voliacable.com> 2012-11-09 04:34:35 PST ---
(In reply to comment #3)
>
> Even if there were no nested scope, this still would not work because function
> with omitted body is expected to appear in another object file:
>
That changed recently. Now
class A
{
void foo();
void foo() { }
void bar();
mixin(q{ void bar() {} });
}
void main()
{
auto a = new A;
a.foo();
a.bar();
}
works as expected.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list