ruff/crates/ty_python_semantic/resources/mdtest/generics/pep695
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
..
classes.md [ty] Add generic inference for dataclasses (#18443) 2025-06-03 09:59:43 -07:00
functions.md [ty] Fix Inconsistent casing in diagnostic (#18084) 2025-05-14 08:26:48 +02:00
variables.md [ty] Meta-type of type variables should be type[..] (#18439) 2025-06-03 15:22:00 +02:00
variance.md [ty] Check base classes when determining subtyping etc for generic aliases (#17927) 2025-05-07 15:21:11 -04:00