Mercurial > hg > octave-thorsten
view test/fcn-handle-derived-resolution/@derived/derived.m @ 13193:a00ff5cedb9b
also look to parent classes for overloaded functions called through handles
* ov-fcn-handle.cc (octave_fcn_handle::do_multi_index_op):
Look for overloads in parent classes if none are found in the
immediate dispatch class.
* test/fcn-handle-derived-resolution: New directory for tests.
* test/Makefile.am: Include fcn-handle-derived-resolution/module.mk.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 22 Sep 2011 17:08:49 -0400 |
parents | |
children |
line wrap: on
line source
function r = derived (n) s.a = n; p = parent (n); r = class (s, 'derived', p); end