http://d.puremagic.com/issues/show_bug.cgi?id=6208
--- Comment #2 from Kenji Hara <[email protected]> 2011-09-08 00:52:07 PDT --- I found related issue. Type storage classes (in, const, immutable, shared, inout) are also ignored. void foo(T)(const T value) if (!is(T == int)) {} void main() { int n; const int cn; static assert(!__traits(compiles, foo(n))); // OK static assert(!__traits(compiles, foo(cn))); // NG } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
