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: Mike Miller
Subject: [Octave-bug-tracker] [bug #51709] evaluating function handle to class static methods
Date: Thu, 7 Mar 2019 18:22:38 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36

Update of bug #51709 (project octave):

                Severity:           4 - Important => 1 - Wish               
              Item Group:    Matlab Compatibility => Feature Request        
                 Summary: Creating function handle to static methods =>
evaluating function handle to class static methods

    _______________________________________________________

Follow-up Comment #5:

On the Octave 6 development branch, lazy function handles can now be created,
but the error occurs for this bug when trying to evaluate the function handle
now:


>> myclass.foo()
>> myclass.foo
>> fn = @myclass.foo;
>> fn()
error: myclass.foo: no longer valid function handle
>> obj = myclass;
>> fn = @obj.foo;
>> fn()
error: obj.foo: no longer valid 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]