http://d.puremagic.com/issues/show_bug.cgi?id=8032
Summary: `mixin template` before virtual method with same
method causes an error
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Denis <[email protected]> 2012-05-04 16:04:08 MSD
---
This doesn't compile if `mixin template` is declared before virtual method `f`:
---
mixin template T() {
void f() { }
}
class A {
mixin T; // Named mixin causes the error too
void f() { }
}
class B : A {
override void f() { }
}
---
Error: class main.B use of main.A.f() hidden by B is deprecated
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------