|
From: | Piotr Held |
Subject: | [Octave-bug-tracker] [bug #51532] Function in '+' package argument lookup fails |
Date: | Fri, 21 Jul 2017 19:34:16 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36 |
Follow-up Comment #1, bug #51532 (project octave): Sorry about that. When calling a function from a +package with arguments &gt;My_Package.foo('asd') you get: error: can't perform indexing operations for user-defined function type The problem seems to be linked to libinterp/parse-tree/pt-eval.cc:1346 in changeset 23781:d891b6a16a4d. When _indexing_object_ is set to false during runtime the error does not occur. It seems that the _is_classdef_meta()_ is too broad of a check. I attached in previous post a test for the problem. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51532> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |