Bug 6213 – MixinIdentifier is not work

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2011-06-25T22:47:00Z
Last change time
2011-10-30T00:21:13Z
Keywords
rejects-valid
Assigned to
nobody
Creator
rayerd.wiz

Comments

Comment #0 by rayerd.wiz — 2011-06-25T22:47:40Z
mixin template T() { void f(C) {} } class C { mixin T V; void f(C) {} } void main() {} a.d(7): Error: class a.C use of a.C.T!().f(C _param_0) hidden by C is deprecated _V._f(C) is inserted to class C by mixin within MixinIndentifier, it is not naked f(C). Because C.V.f(C) and C.f(C) are not conflict.
Comment #1 by rayerd.wiz — 2011-10-30T00:21:13Z
Fixed by dmd 2.056.