[Top][All Lists]

[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

fn = @myclass.foo;

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;
error: obj.foo: invalid function handle


Reply to this item at:


  Message sent via Savannah

reply via email to

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