Skip to content

added variance inference test with method scoped type variable#2287

Open
randolf-scholz wants to merge 3 commits into
python:mainfrom
randolf-scholz:variance_inference_with_bound_self
Open

added variance inference test with method scoped type variable#2287
randolf-scholz wants to merge 3 commits into
python:mainfrom
randolf-scholz:variance_inference_with_bound_self

Conversation

@randolf-scholz
Copy link
Copy Markdown

Fixes #2281

This adds a conformance test checking that method scoped type-variables do not influence variance inference, in accordance with the spec.

@randolf-scholz
Copy link
Copy Markdown
Author

Actually, let's delay until ty 0.0.36 release (astral-sh/ty#1459)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Conformance/Spec] Type Checker Divergence in Variance Inference

1 participant