#853 Fix matching with multiple generic arguments of the same type

Merged
RH
2y ago
+25-2

Fixes #853