# HG changeset patch # User Carnë Draug # Date 1360022031 0 # Node ID d53fa7e43aa919f9f0e8b8be10fa3ed911dc64f0 # Parent 1aff8c38c53cc45956f9153534e327cae769a0e1 doc: what happens when two objects have same precedence diff --git a/doc/interpreter/oop.txi b/doc/interpreter/oop.txi --- a/doc/interpreter/oop.txi +++ b/doc/interpreter/oop.txi @@ -656,6 +656,8 @@ Octave types. So in fact marking our polynomial class higher than the "double" class is in fact not necessary. +When faced with two objects that have the same precedence, Octave will use the +method of the object that appears first on the list of arguments. @node Inheritance and Aggregation @section Inheritance and Aggregation