http://d.puremagic.com/issues/show_bug.cgi?id=8833
Summary: Odd error with expression tuples Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-16 20:12:56 PDT --- import std.typetuple; void func(alias arg)() { } void main() { int x, y; alias TypeTuple!( func!(x), func!(y), ) Map; } test.d(9): Error: template instance TypeTuple!(func,func) TypeTuple!(func,func) is nested in both func!(x) and func!(y) But this works fine (notice 'y' isn't passed here): void main() { int x, y; alias TypeTuple!( func!(x), func!(x), ) Map; } This was while trying to implement an interesting question on SO: http://stackoverflow.com/questions/12888263/mapping-variadic-template-arguments-in-d That solution is partially implementable by constructing function call expressions, however I can never get around this strange bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------