Skip to content

Ensure that dynamic properties also narrow the parent#712

Open
hadley wants to merge 1 commit into
mainfrom
dynamic-must-also-narrow
Open

Ensure that dynamic properties also narrow the parent#712
hadley wants to merge 1 commit into
mainfrom
dynamic-must-also-narrow

Conversation

@hadley

@hadley hadley commented Jun 20, 2026

Copy link
Copy Markdown
Member

In practice, I don't expect this to have much impact since I think dynamic properties are mostly going to be class_any, but I don't see any resason not to check any the type information that the user did provide.

Fixes #708

In practice, I don't expect this to have much impact since I think dynamic properties are mostly going to be `class_any`, but I don't see any resason not to check any the type information that the user did provide.

Fixes #708
@hadley hadley requested a review from t-kalinowski June 20, 2026 12:03
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.

Dynamic properties are not checked for consistency with parent

1 participant