[Issue 6700] New: Regression(2.053) using $ inside a slice of a tuple
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Sep 20 06:44:06 PDT 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 at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
--- Comment #0 from Don <clugdbug at 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: -------
More information about the Digitalmars-d-bugs
mailing list