Skip to content

Check that overriden properties narrow the type specification#691

Merged
hadley merged 10 commits into
mainfrom
check-override-narrows
Jun 15, 2026
Merged

Check that overriden properties narrow the type specification#691
hadley merged 10 commits into
mainfrom
check-override-narrows

Conversation

@hadley

@hadley hadley commented Jun 9, 2026

Copy link
Copy Markdown
Member

Fixes #352

@hadley hadley requested a review from t-kalinowski June 15, 2026 13:10

@t-kalinowski t-kalinowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed some changes fixing some edge cases around unions with NULL. You may want to look over before merging:

https://diffshub.com/RConsortium/S7/compare/634c2fe366c7ad2b344159bedbb3101420af683f...8b14997a4764099b77d9822761a4a632a8ce939f

@hadley hadley merged commit 363f08a into main Jun 15, 2026
13 checks passed
@hadley

hadley commented Jun 15, 2026

Copy link
Copy Markdown
Member Author

LGTM. Thanks!

@hadley hadley deleted the check-override-narrows branch June 15, 2026 17:39
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.

Extending a parent class with inconsistent properties

2 participants