1575 – Cannot do assignment of tuples

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 1575 - Cannot do assignment of tuples
Summary: Cannot do assignment of tuples
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P2 enhancement
Assignee: Walter Bright
URL:
Keywords:
Depends on:
Blocks:
Reported: 2007年10月11日 23:08 UTC by Walter Bright
Modified: 2015年06月09日 05:15 UTC (History)
0 users

See Also:


Attachments
Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2007年10月11日 23:08:29 UTC
The following fails to compile:
template Tuple(T...)
{
 alias T Tuple;
}
alias Tuple!(int, long) TX
void foo(TX t)
{
 TX s;
 s = t;
}
Comment 1 david 2007年10月13日 06:02:54 UTC
I think this is an enhancement? If not please mark it back
Comment 2 Walter Bright 2007年11月03日 21:49:40 UTC
Fixed dmd 1.023


AltStyle によって変換されたページ (->オリジナル) /