Dhruv Manilawala
d29d4956de
[red-knot] Fix callable subtyping for standard parameters ( #17125 )
...
## Summary
This PR fixes a bug in callable subtyping to consider both the
positional and keyword form of the standard parameter in the supertype
when matching against variadic, keyword-only and keyword-variadic
parameter in the subtype.
This is done by collecting the unmatched standard parameters and then
checking them against the keyword-only / keyword-variadic parameters
after the positional loop.
## Test Plan
Add test cases.
2025-04-01 23:37:35 +05:30
..
2025-03-31 10:52:23 +00:00
2025-04-01 15:44:02 +01:00
2025-03-31 13:01:25 +02:00
2024-12-21 11:33:10 +01:00
2025-03-12 01:58:59 +00:00
2025-03-31 09:40:47 +02:00
2025-03-28 11:11:56 -04:00
2025-03-12 01:58:59 +00:00
2025-03-17 10:35:52 -04:00
2024-12-17 09:49:39 +05:30
2025-03-14 20:34:43 +01:00
2025-04-01 19:03:42 +01:00
2025-02-12 08:52:11 +01:00
2025-03-23 08:08:40 +00:00
2025-03-24 17:15:58 +00:00
2025-03-30 11:06:12 -07:00
2025-03-23 13:23:12 +00:00
2025-03-24 18:23:02 +00:00
2025-01-16 11:21:56 -08:00
2025-03-17 10:35:52 -04:00
2025-03-31 23:38:09 +00:00
2025-02-04 08:27:17 +01:00
2025-03-28 11:11:56 -04:00
2025-02-05 22:26:15 +01:00
2025-03-28 11:11:56 -04:00
2025-03-23 10:55:14 -07:00
2025-03-12 01:58:59 +00:00
2025-03-07 22:03:28 +01:00
2025-02-20 23:22:26 +01:00
2025-04-01 23:37:35 +05:30
2025-03-14 12:30:13 +01:00
2025-03-17 10:35:52 -04:00
2025-03-12 01:58:59 +00:00
2024-10-31 21:00:51 +00:00
2025-03-27 17:30:56 -04:00
2025-03-14 12:15:41 +01:00
2024-12-19 21:02:14 +00:00
2025-03-20 17:17:54 +00:00
2025-03-08 03:58:52 +00:00
2025-03-04 19:49:34 +00:00
2025-02-03 09:27:29 +00:00
2025-02-04 08:27:17 +01:00
2025-03-12 01:58:59 +00:00
2025-02-04 08:27:17 +01:00
2025-01-20 09:55:54 +01:00
2025-03-19 07:36:28 -07:00
2025-03-14 12:29:57 +01:00
2025-02-06 07:15:26 +00:00
2025-02-20 23:22:26 +01:00
2025-02-05 22:26:15 +01:00
2025-03-12 01:58:59 +00:00
2025-03-28 20:23:04 +00:00
2025-02-14 12:24:10 -08:00
2025-03-08 02:36:35 +00:00