David Peter
bbcd7e0196
[ty] Synthetic function-like callables ( #18242 )
...
## Summary
We create `Callable` types for synthesized functions like the `__init__`
method of a dataclass. These generated functions are real functions
though, with descriptor-like behavior. That is, they can bind `self`
when accessed on an instance. This was modeled incorrectly so far.
## Test Plan
Updated tests
2025-05-28 10:00:56 +02:00
..
2025-05-26 12:03:29 +02:00
2025-05-19 19:47:31 +02:00
2025-05-22 10:42:29 -04:00
2025-05-17 08:27:32 -04:00
2025-05-06 20:11:25 -04:00
2025-05-27 12:16:41 -07:00
2025-05-06 20:11:25 -04:00
2025-05-23 12:55:17 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-21 18:16:25 +02:00
2025-05-14 22:48:33 -04:00
2025-05-09 13:40:51 -04:00
2025-05-19 18:13:34 -04:00
2025-05-09 17:39:15 +01:00
2025-05-21 17:38:07 +00:00
2025-05-26 20:40:16 +01:00
2025-05-21 07:28:33 +00:00
2025-05-09 17:39:15 +01:00
2025-05-03 19:49:15 +02:00
2025-05-17 08:27:32 -04:00
2025-05-03 19:49:15 +02:00
2025-05-15 22:01:38 +02:00
2025-05-03 19:49:15 +02:00
2025-05-26 21:34:47 +02:00
2025-05-22 21:37:03 -04:00
2025-05-22 21:37:03 -04:00
2025-05-03 19:49:15 +02:00
2025-05-23 11:41:31 +02:00
2025-05-06 20:11:25 -04:00
2025-05-23 11:41:31 +02:00
2025-05-03 19:49:15 +02:00
2025-05-06 20:11:25 -04:00
2025-05-26 21:34:47 +02:00
2025-05-03 19:49:15 +02:00
2025-05-26 12:59:45 +02:00
2025-05-13 21:27:48 +00:00
2025-05-07 15:51:13 +02:00
2025-05-28 10:00:56 +02:00
2025-05-09 13:40:51 -04:00
2025-05-06 20:11:25 -04:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-06 12:37:10 +01:00
2025-05-06 20:11:25 -04:00
2025-05-26 20:40:16 +01:00
2025-05-16 12:56:43 +02:00
2025-05-03 19:49:15 +02:00
2025-05-19 16:36:49 +02:00
2025-05-09 13:40:51 -04:00
2025-05-26 20:40:16 +01:00
2025-05-03 19:49:15 +02:00
2025-05-09 14:57:14 -04:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-06 20:11:25 -04:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00
2025-05-03 19:49:15 +02:00