[Issue 3092] New: Indexing a tuple produces a tuple containing the indexed element
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 25 01:02:39 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3092
Summary: Indexing a tuple produces a tuple containing the
indexed element
Product: D
Version: 1.045
Platform: Other
OS/Version: Windows
Status: NEW
Severity: major
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: samukha at voliacable.com
template Foo(A...)
{
alias A[0] Foo;
}
void foo()
{
}
static assert(is(Foo!(int, foo) == int));
void main()
{
}
Error: static assert (is((int) == int)) is false
----
This one was slightly annoying as it came along with
http://d.puremagic.com/issues/show_bug.cgi?id=2229, which gets in the way
regularly and which is almost a year old now.
--
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