https://issues.dlang.org/show_bug.cgi?id=6312
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|D1 D2 |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=6312
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #2
/db5e6087a2ed742bb0ce024dc5154075cd54df43
fix Issue 6312 - template instance cannot use argument from enclosing template
https://github.com/D-Programming-Language/dmd/commit/f946ede5e9b597c6e32c1e66b311460204532cd9
Merge pull request #1850 from 9rnsr/fix6312
Issue 6312 - template instance cannot use argument from enclosing template
http://d.puremagic.com/issues/show_bug.cgi?id=6312
Walter Bright bugzi...@digitalmars.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=6312
--- Comment #1 from Trass3r mrmoc...@gmx.de 2011-11-11 08:24:41 PST ---
Ok, here's a real ugly workaround:
extern(C) void printf(const char*, ...);
void h() { printf(h()); }
class Bla
{
mixin wrap!h;
}
private enum dummy {foo}
mixin