Hugo
3ec63b964c
[ty] Add support for dict(...) calls in typed dict contexts (#22113)
## Summary
fixes https://github.com/astral-sh/ty/issues/2127
- handle `dict(...)` calls in TypedDict context with bidirectional
inference
- validate keys/values using the existing TypedDict constructor implem
- mdtest: add 1 positive test, 1 negative test for invalid coverage
## Test Plan
```sh
cargo clippy --workspace --all-targets --all-features -- -D warnings # Rust linting
cargo test # Rust testing
uvx pre-commit run --all-files --show-diff-on-failure # Rust and Python formatting, Markdown and Python linting, etc.
```
fully green
2025-12-20 07:59:03 -08:00
..
2025-12-18 13:08:17 -06:00
2025-11-19 10:02:58 +01:00
2025-12-16 09:16:49 -08:00
2025-12-18 09:47:02 -05:00
2025-12-19 19:11:05 +00:00
2025-12-13 17:56:59 -05:00
2025-12-15 14:29:11 +01:00
2025-12-03 15:04:36 -05:00
2025-12-19 11:08:12 -08:00
2025-10-23 14:48:41 -04:00
2025-12-03 12:16:18 +01:00
2025-11-13 18:58:08 +01:00
2025-12-18 12:18:20 +00:00
2025-12-03 08:15:17 +00:00
2025-12-15 14:29:11 +01:00
2025-12-15 09:29:50 -06:00
2025-12-02 20:10:46 +01:00
2025-12-02 20:10:46 +01:00
2025-12-16 16:33:39 -05:00
2025-12-17 08:39:47 -05:00
2025-11-26 09:31:22 +01:00
2025-12-08 14:00:43 -05:00
2025-12-08 16:11:59 -08:00
2025-12-18 11:38:21 +00:00
2025-11-21 15:07:37 -05:00
2025-12-18 13:08:17 -06:00
2025-11-16 12:30:24 +00:00
2025-12-20 07:53:45 -08:00
2025-12-19 18:23:09 +00:00
2025-12-19 13:36:01 -05:00
2025-12-20 10:03:41 +01:00
2025-12-20 07:59:03 -08:00
2025-12-19 13:36:01 -05:00
2025-12-16 13:15:24 +01:00
2025-12-19 13:53:31 +00:00
2025-12-19 18:23:09 +00:00
2025-12-18 09:47:02 -05:00