-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
It may be possible to have an S4 object inherit from S7_object. Some things that would need to happen:
- To enable an S4 class inheriting from an S7 class,
S4_register()would need to pass a transient class toS4Class=onsetOldClass()to establish the inherited slots on the S4 class. - To enable S7 extending S4, we would need to remove the
stop()and figure out things like how to construct the parent S4 instance, allow access to the S4 properties inprop_set_()and probably other things. - To enable either direction, and support getters/setters on the S7 properties,
@()would need to prioritize dispatch (instead of guarding against S4 objects). This would have a performance impact on S4 code that uses a lot of@(). We may have to sacrifice that feature for now.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels