[Issue 3263] New: Cannot use tuple foreach arguments in an array literal
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Aug 25 01:14:00 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3263
Summary: Cannot use tuple foreach arguments in an array literal
Product: D
Version: 1.017
Platform: Other
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: clugdbug at yahoo.com.au
This is the second bug report in bug #1298, which is completely unrelated to
the first one.
----
template Foo(Strings...)
{
const a2 = [Strings];
}
alias Foo!("one", "two") foo;
// Error: cannot implicitly convert expression (tuple("one","two")) of type
(char[3], char[3]) to char
--
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