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

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

[Octave-bug-tracker] [bug #51709] evaluating function handle to class st


From: Rik
Subject: [Octave-bug-tracker] [bug #51709] evaluating function handle to class static methods
Date: Fri, 22 Mar 2019 14:57:29 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #7, bug #51709 (project octave):

Repeating the tests from the original reporter and from comment #5 shows that
one form of creating function handles to static methods now works. 
Specifically, deriving the function handle from the class.method.  For
example


fn = @myclass.foo;
fn()


The second method, creating an instance of the class and then asking the
instance for the static class method, still fails.


obj = myclass;
fn = @obj.foo;
fn()
error: obj.foo: invalid function handle




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?51709>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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