Clone
ssoberni <stefan.sobernig@wu-wien.ac.at>
committed
on 04 Nov 11
- generic/nsf.c: DispatchUnknownMethod() In the re-entrant case, the unknown dispatcher was too greedy by skipping the first element in … Show more
- generic/nsf.c: DispatchUnknownMethod() In the re-entrant case, the   unknown dispatcher was too greedy by skipping the first element in   the objv at basically all times. For CallConfigureMethod() case in   XOTcl2, the actual method name was so skipped. Generally speaking,   the "skipping rules" in DispatchUnknownMethod() feel a touch too   particular to me: For instance, the dispatch flag "-local",   "-system" etc. must be handled. Also, unknowns in method ensembles   have the unknown method listed first in objv. Alternatively, we   might review how objc/objv make it into DispatchUnknownMethod()   (there are just two call sites). But this would merely shift/spread   the skipping. Changing the arg vectors, to begin with,   (e.g. removing "-local", "-system", etc. from the objv) would   requiring rebuilding the arg vector. - tests/parameters.test: Added a simplistic test case to catch the   error reporting for XOTcl 2's residualargs handling.

Show less