Mercurial > octave-dspies
changeset 15997:d53fa7e43aa9
doc: what happens when two objects have same precedence
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Mon, 04 Feb 2013 23:53:51 +0000 |
parents | 1aff8c38c53c |
children | 59715612ea72 3b3321f9db9f |
files | doc/interpreter/oop.txi |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/oop.txi Mon Feb 04 17:07:15 2013 -0500 +++ b/doc/interpreter/oop.txi Mon Feb 04 23:53:51 2013 +0000 @@ -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