This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
strictEquality ==
works even if the given CanEqual
fails
#13725
Labels
If an implicit to the
CanEqual
is introduced and fails, the==
operation still compiles successfully.Compiler version
v3.1.0-RC3
Minimized code
Output
No error
Expectation
We should get the error "This should fail"
The text was updated successfully, but these errors were encountered: