VM instantiated tear-offs of instance methods ignores the instantiation type in equality checks. #45890
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
Example:
It seems inconsistent that two functions with different types should be equal. It's true that they have the same underlying behavior, and calling them with the same valid argument will give the same result, but it allows surprising equalities to be true, and if code does different things depending on the run-time type of the function they're passed, then it might make a difference whether a set of function can hold both or not.
The text was updated successfully, but these errors were encountered: