On Thursday, 29 September 2016 at 14:34:18 UTC, Marc Schütz wrote:
Please have a look at this PR:
https://github.com/dlang/dmd/pull/6140
However, the error message printed with this PR isn't
particularly helpful either:
Error: incompatible types for ((5) in (m2)): 'int' and
'const(MyTable)'
You might want to add a comment there, and/or open an
enhancement request at: https://issues.dlang.org/
This is true. But currently error messages for overloaded
operator is useless in general, not just for 'in'.