|
| From: | Richard |
| Subject: | [Octave-bug-tracker] [bug #62001] feval does not work for static class methods (does on Matlab) |
| Date: | Mon, 7 Feb 2022 07:36:01 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?62001>
Summary: feval does not work for static class methods (does
on Matlab)
Project: GNU Octave
Submitted by: crobar
Submitted on: Mon 07 Feb 2022 12:35:59 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.4.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
classdef test_feval_static_method
methods (Static)
function x = return_one ()
x = 1;
end
end
end
octave:7> test_feval_static_method.return_one
ans = 1.0000e+000
octave:8> feval ('test_feval_static_method.return_one')
error: feval: function 'test_feval_static_method.return_one' not found
octave:9> eval ('test_feval_static_method.return_one')
ans = 1.0000e+000
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62001>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |