http://d.puremagic.com/issues/show_bug.cgi?id=6365
--- Comment #3 from Kenji Hara <k.hara...@gmail.com> 2011-07-23 05:17:57 PDT --- (In reply to comment #2) > (In reply to comment #0) > > > auto (n1, n2) = 100; // non tuple initializer > > assert(n1 == 100); > > assert(n2 == 100); > > This *must* be a compile-time error. This is keeping consistent feature. Current D allow compilation of following code: TypeTuple!(int, int) f = 10; assert(f[0] == 10); assert(f[1] == 10); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------