scala3 icon indicating copy to clipboard operation
scala3 copied to clipboard

Missing `CanEqual` for `Map`

Open felher opened this issue 2 years ago • 0 comments

Compiler version

3.1.3

Minimized code

summon[CanEqual[Map[String, String], Map[String, String]]]

Output

Compiler error because the CanEqual is not found.

Expectation

CanEqual should be found.

Explanation

I don't think this is a bug in the normal sense but I was not sure whether it is something like that or more of a feature request because I'm not sure whether the missing Map is intended. I know that is only a one line fix in my own code, but I expected Map to have an CanEqual and I assume more people will stumble upon this eventually, so maybe consider adding it?

felher avatar Aug 11 '22 21:08 felher