octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #39257] handles to nested functions are not ye


From: Rik
Subject: [Octave-bug-tracker] [bug #39257] handles to nested functions are not yet supported
Date: Wed, 7 Mar 2018 12:04:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Follow-up Comment #15, bug #39257 (project octave):

Adding jwe to the thread since he has done the recent work on the symbol
table.  The function do_multi_index_op no longer exists.  The error about
handles to nested functions is coming from this subroutine in
ov-fcn-handle.cc:


octave_fcn_handle::octave_fcn_handle (const octave_value& f,
                                      const std::string& n)
  : fcn (f), nm (n), has_overloads (false)
{
  octave_user_function *uf = fcn.user_function_value (true);

  if (uf && nm != anonymous)
    {
      octave::symbol_scope uf_scope = uf->scope ();

      if (uf_scope)
        uf_scope.cache_name (nm);
    }

  if (uf && uf->is_nested_function () && ! uf->is_subfunction ())
    error ("handles to nested functions are not yet supported");
}




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?39257>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]