[Issue 10394] opBinaryRight!"in" and tuple

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 17 15:52:20 PDT 2013


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-06-17 15:52:18 PDT ---
You could use Tuple from std.typecons instead and it will work.

It seems to me what's going on is auto-expansion of a TypeTuple into two
arguments, and opBinaryRight (or opIn_r) simply can't accept more than one
argument.

I don't know why that even worked before, it might have been an accepts-invalid
bug in 2.062 and earlier. Kenji Hara will probably know more.

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