[Issue 6365] AutoTupleDeclaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 23 05:14:46 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6365


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #2 from bearophile_hugs at eml.cc 2011-07-23 05:14:44 PDT ---
(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.

-- 
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