RConsortium / S7

S7: a new OO system for R
https://rconsortium.github.io/S7
Other
386 stars 32 forks source link

Don't embed external generics #389

Closed hadley closed 8 months ago

hadley commented 8 months ago

Fixes #364

To review this, I think you'll need to read register_method() and convince yourself that when generic isn't a local generic (i.e. from the current package), we'll always return an external generic, which is basically a lazy pointer to the generic.

hadley commented 8 months ago

This approach doesn't work because of the way that S3method() works as detailed in #390.