[Issue 6479] spurious alias this with struct and mixin template
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Oct 23 04:59:10 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6479
--- Comment #2 from Kenji Hara <k.hara.pg at gmail.com> 2011-10-23 04:58:07 PDT ---
This is a bug related to forward reference.
struct Memory
{
mixin Wrapper!();
}
//mixin template Wrapper() {} // OK
struct Image
{
Memory sup;
alias sup this;
}
mixin template Wrapper() {} // NG
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list