Skip to content

Inherit from the base type by default in new_vctr() - #1213

Open
lionel- wants to merge 2 commits into
r-lib:mainfrom
lionel-:fix-base-type-vctrs-vctr
Open

Inherit from the base type by default in new_vctr()#1213
lionel- wants to merge 2 commits into
r-lib:mainfrom
lionel-:fix-base-type-vctrs-vctr

Conversation

@lionel-

@lionel- lionel- commented Aug 7, 2020

Copy link
Copy Markdown
Member

No impact on revdeps.

@DavisVaughan

DavisVaughan commented Aug 7, 2020

Copy link
Copy Markdown
Member

Original issue where we flipped it to FALSE #778

Because we don't support inheritance in double dispatch anymore, this comment doesn't really apply as much right?
#777 (comment)

@lionel-

lionel- commented Aug 7, 2020

Copy link
Copy Markdown
Member Author

Right I think base type inheritance caused issues when we still had inheritance of coercion methods because it was causing all sorts of unrelated methods to be inherited by default. Once #1135 is resolved this will only be the case in a limited way, as part of a fallback coercion.

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.

2 participants