Bug 7643 – Whole tuple slice isn't resolved as expected
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-03-04T04:39:00Z
Last change time
2012-04-20T03:13:26Z
Keywords
pull, rejects-valid
Assigned to
nobody
Creator
k.hara.pg
Comments
Comment #0 by k.hara.pg — 2012-03-04T04:39:52Z
template TypeTuple(T...){ alias T TypeTuple; }
alias TypeTuple!(long, "x", string, "y") Specs;
template U(T...) { }
alias U!( Specs[] ) U0; // Error: tuple T is used as a type