https://issues.dlang.org/show_bug.cgi?id=6966
ag0ae...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=6966
--- Comment #1 from timon.g...@gmx.ch 2011-11-17 07:30:25 PST ---
Workaround:
template XImpl(T...){
alias T[0] _;
alias const(_) X;
}
template X(T...){alias XImpl!T.X X;}
static assert(is(X!(int) == const(int))); // pass
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=6966
Kenji Hara changed:
What|Removed |Added
Keywords||pull, wrong-code
Platform|Other