D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7643 - Whole tuple slice isn't resolved as expected
Summary: Whole tuple slice isn't resolved as expected
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: pull, rejects-valid
Depends on:
Blocks:
 
Reported: 2012-03-04 04:39 UTC by Kenji Hara
Modified: 2012-04-20 03:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kenji Hara 2012-03-04 04:39:52 UTC
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
Comment 2 SomeDude 2012-04-20 02:56:46 UTC
Compiles on 2.059 Win32.