[ideas] Optionally handle method dispatch as dependencies #1300
Closed
multimeric
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
The answer is probably no because the package relies on codetools package to do static code analysis and is not able to know which method will be dispatched in such circumstances. See #1273 (comment). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
Currently functions that are being tracked by targets aren't aware of method dispatch. For example:
In this case, changes to
foo.list
are not going to cause any targets to invalidate, even though it should.Now, we can't know at pipeline construction time what class
x
will be, but we can in theory pull out all method implementations usingmethods
:Just wondering if there's any place for OOP support such as this in the package.
Beta Was this translation helpful? Give feedback.
All reactions