Thread overview
[Issue 6700] New: Regression(2.053) using $ inside a slice of a tuple
Sep 20, 2011
Don
Oct 18, 2011
Don
Oct 24, 2011
Walter Bright
September 20, 2011
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: nobody@puremagic.com
        ReportedBy: clugdbug@yahoo.com.au


--- Comment #0 from Don <clugdbug@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: -------
October 18, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6700



--- Comment #1 from Don <clugdbug@yahoo.com.au> 2011-10-17 23:27:04 PDT ---
This probably has the same root cause as bug 6235.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 24, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6700


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #3 from Walter Bright <bugzilla@digitalmars.com> 2011-10-24 13:38:07 PDT ---
https://github.com/D-Programming-Language/dmd/commit/9224e1cae4b0d08898f4ee737c1ea510fc84fbdc

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