Bug 8069 – incorrect ambiguous virtual function error
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2012-05-08T14:39:00Z
Last change time
2015-06-09T05:11:46Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
fawzi
Comments
Comment #0 by fawzi — 2012-05-08T14:39:46Z
module t;
interface I{
void f();
}
struct A{
void f();
final class B: I{
A a;
void f() {}
}
}
produces
t.d(8): Error class t.A.B ambiguous virtual function error
with both Dmd 2.059 and 1.074