http://d.puremagic.com/issues/show_bug.cgi?id=6700

           Summary: Regression(2.053) using $ inside a slice of a tuple
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: regression
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: clugd...@yahoo.com.au


--- Comment #0 from Don <clugd...@yahoo.com.au> 2011-09-20 06:43:39 PDT ---
>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);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to