D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6213 - MixinIdentifier is not work
Summary: MixinIdentifier is not work
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: rejects-valid
Depends on:
Blocks:
 
Reported: 2011-06-25 22:47 UTC by Haruki Shigemori
Modified: 2011-10-30 00:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Haruki Shigemori 2011-06-25 22:47:40 UTC
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 Haruki Shigemori 2011-10-30 00:21:13 UTC
Fixed by dmd 2.056.