Dhruv Manilawala
f11d9cb509
[red-knot] Support overloads for callable equivalence ( #17698 )
...
## Summary
Part of #15383 , this PR adds `is_equivalent_to` support for overloaded
callables.
This is mainly done by delegating it to the subtyping check in that two
types A and B are considered equivalent if A is a subtype of B and B is
a subtype of A.
## Test Plan
Add test cases for overloaded callables in `is_equivalent_to.md`
2025-04-30 02:53:59 +05:30
..
2025-04-28 14:32:34 -04:00
2025-04-28 14:32:34 -04:00
2025-04-29 16:58:58 +00:00
2025-04-30 02:53:59 +05:30
2025-04-27 11:27:33 +01:00
2025-04-29 16:58:58 +00:00
2025-04-15 09:16:42 +02:00
2025-04-27 11:44:55 +01:00
2025-04-28 14:57:36 -04:00
2025-04-07 08:24:08 -04:00
2025-04-29 09:03:06 -04:00
2024-07-03 07:36:46 -05:00
2025-04-29 16:58:58 +00:00
2025-04-03 15:59:44 +00:00
2025-01-03 08:50:13 -06:00
2025-04-03 15:59:44 +00:00
2025-04-17 14:00:30 -04:00
2025-02-28 14:55:55 -05:00
2025-04-29 16:51:38 -04:00
2025-04-03 15:59:44 +00:00
2025-04-27 11:27:33 +01:00
2025-04-28 16:29:00 -05:00
2025-04-01 16:58:09 +02:00
2025-04-03 15:59:44 +00:00
2025-04-27 11:27:33 +01:00
2024-10-28 07:53:41 +00:00
2025-02-04 08:41:06 -05:00
2025-04-29 07:55:30 -05:00
2025-04-03 15:59:44 +00:00
2025-04-29 16:51:38 -04:00
2025-01-04 12:23:53 +01:00
2025-02-27 13:25:31 +00:00
2025-02-19 10:50:50 -05:00
2025-04-27 11:27:33 +01:00
2025-04-27 11:44:55 +01:00
2025-01-16 15:18:12 +01:00
2025-04-27 11:27:33 +01:00
2025-04-28 14:57:36 -04:00