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
Comment #1 by k.hara.pg — 2012-05-08T22:19:17Z
Comment #2 by github-bugzilla — 2012-05-10T11:16:48Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/bf20549ba21b031e9c3cc86c87090401833a1435 fix Issue 8069 - incorrect ambiguous virtual function error https://github.com/D-Programming-Language/dmd/commit/f35c12ade4edda65a4407311e8f7fab3d6da3c28 Merge pull request #935 from 9rnsr/fix8069 Issue 8069 - incorrect ambiguous virtual function error
Comment #3 by k.hara.pg — 2012-05-11T01:38:18Z