[Issue 2811] mixin fields not visible inside mixin method
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 6 08:45:55 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2811
2korden at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Comment #1 from 2korden at gmail.com 2009-04-06 10:45 -------
Nvm, it looks like I mistakenly was trying to mixin struct template, not mixin
template.
template OwnT(T, Own)
{
// ...
}
Would fix the issue.
On the other, is this supposed to work? If it's not, perhaps error message
could state "can not mixin struct" instead. (Shall I post it as an enhancement
request?)
--
More information about the Digitalmars-d-bugs
mailing list