[Bug 49] New: Error instantiating a mixin with a private constructor
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 14 09:47:55 PST 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=49
Summary: Error instantiating a mixin with a private constructor
Product: D
Version: 0.149
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: daiphoenix at lycos.com
The following gives a compiler error (as in the comented line):
template Baz() {
private this() {}
}
class Foo {
mixin Baz!(); // Error: .this is private
}
--
More information about the Digitalmars-d-bugs
mailing list