-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
In practice, this means that you should alway define methods defined for the terminal nodes, i.e. those on the far right.
where "alway" should be "always"
Line 493 in 63ea8d9
| To find the method that gets called, you start with the most specific class of the actual arguments, then follow the arrows until you find a method that exists. For example, if you called the function with an object of class `r emoji("wink")` you would follow the arrow right to find the method defined for the more general `r emoji("no_mouth")` class. If no method is found, method dispatch has failed and an error is thrown. In practice, this means that you should alway define methods defined for the terminal nodes, i.e. those on the far right. |
Metadata
Metadata
Assignees
Labels
No labels