From the test suite, fail_compilation/fail135.d This is a test which has been passing for a long time, but erroneously failing because a printf was missing. The regression is D2-only, it passes on D1. BTW this reduced test case is also a reduced test case for bug 751, which is what fail135 is testing (it was a segfault). Note the parentheses around the tuple. --------------------- template TypeTuple( TList... ) { alias TList TypeTuple; } template blah(TList ...) { const int blah = 2; } TypeTuple!(int, long) TT; static assert(blah!( (TT[1..$]) )==2);
This probably has the same root cause as bug 6235.
And this one is my fault: https://github.com/D-Programming-Language/dmd/commit/fc67046cf1e66182d959309fb15ef9e2d4c266b9
https://github.com/D-Programming-Language/dmd/commit/9224e1cae4b0d08898f4ee737c1ea510fc84fbdc