https://d.puremagic.com/issues/show_bug.cgi?id=2659


w0rp <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]


--- Comment #6 from w0rp <[email protected]> 2014-02-28 01:18:35 PST ---
+1 to this. Also, I wouldn't use a comma in future for tuple syntax with
parentheses. I think that was a mistake in Python. Supposing this was
translated to D as it is in Python...

auto x = (); // empty tuple
auto x = (1); // value 1
auto x = (1,) // tuple of size 1
auto x = (1, 2) // pair

After so many years, I still make mistakes regularly with this.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to