www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6700] New: Regression(2.053) using $ inside a slice of a tuple

reply d-bugmail puremagic.com writes:
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



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: -------
Sep 20 2011
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=6700




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: -------
Oct 17 2011
prev sibling parent d-bugmail puremagic.com writes:
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



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: -------
Oct 24 2011