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-22 13:09:44 -05:00
2025-05-16 13:25:28 +02:00
2025-05-27 08:00:38 +02:00
2025-05-16 13:25:28 +02:00
2025-05-26 13:37:49 +01:00
2025-05-26 14:35:20 +00:00
2025-05-15 10:27:21 -04:00
2025-05-16 13:25:28 +02:00
2025-05-21 11:06:27 -04:00
2025-05-16 13:25:28 +02:00
2025-05-28 09:30:51 +02:00
2025-05-19 13:34:04 -04:00
2025-05-16 13:25:28 +02:00
2025-05-09 10:47:45 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-22 07:52:21 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-21 18:16:25 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-16 13:25:28 +02:00
2025-05-19 13:34:04 -04:00
2025-05-16 13:25:28 +02:00
2025-05-19 11:40:58 -04:00
2025-05-26 10:33:51 +01:00
2025-05-16 13:25:28 +02:00
2025-05-27 08:00:38 +02:00
2025-05-21 11:06:27 -04:00
2025-05-28 13:15:11 +05:30
2025-05-28 10:00:56 +02:00
2025-05-28 13:15:11 +05:30
2025-05-21 11:06:27 -04:00
2025-05-23 11:41:31 +02:00
2025-05-26 13:37:49 +01:00