annotate test/ctor-vs-method/@other/parent.m @ 13147:6c952376482d

look for methods before constructors * symtab.cc (symbol_table::fcn_info::fcn_info_rep::find): Look for class methods before constructors, contrary to Matlab documentation. * test/ctor-vs-method: New directory of test classes. * test/test_ctor_vs_method.m: New file. * test/Makefile.am: Include ctor-vs-method/module.mk. (FCN_FILES): Include test_ctor_vs_method.m in the list.
author John W. Eaton <jwe@octave.org>
date Fri, 16 Sep 2011 15:42:06 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13147
6c952376482d look for methods before constructors
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 function r = parent (a)
6c952376482d look for methods before constructors
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 __trace__ ('begin other/parent');
6c952376482d look for methods before constructors
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3 __trace__ ('end other/parent');
6c952376482d look for methods before constructors
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 end