ruff/crates/ty_python_semantic
Matthew Mckee e8ea40012a
[ty] Add generic inference for dataclasses (#18443)
## Summary

An issue seen here https://github.com/astral-sh/ty/issues/500

The `__init__` method of dataclasses had no inherited generic context,
so we could not infer the type of an instance from a constructor call
with generics

## Test Plan

Add tests to classes.md` in generics folder
2025-06-03 09:59:43 -07:00
..
resources [ty] Add generic inference for dataclasses (#18443) 2025-06-03 09:59:43 -07:00
src [ty] Add generic inference for dataclasses (#18443) 2025-06-03 09:59:43 -07:00
tests Switch to Rust 2024 edition (#18129) 2025-05-16 13:25:28 +02:00
build.rs
Cargo.toml
mdtest.py
mdtest.py.lock