[Issue 20987] incompatible types for... when opBinary "in" overloading

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jun 28 09:57:35 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20987

moonlightsentinel at disroot.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |moonlightsentinel at disroot.o
                   |                            |rg
         Resolution|---                         |INVALID

--- Comment #1 from moonlightsentinel at disroot.org ---
You need to use “in” on your struct, not the string array.

“box” in cs;

--


More information about the Digitalmars-d-bugs mailing list