Mercurial > octave
changeset 26892:7ba7cb202193
Clarify error message about a lazily evaluated function handle failing.
* ov-fcn-handle.cc (octave_fcn_handle::call): Change error message to just use
"invalid function handle" since "no longer valid" is not true for all use
cases.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 12 Mar 2019 11:12:02 -0700 |
parents | 94e0a9162b19 |
children | 25284d620919 |
files | libinterp/octave-value/ov-fcn-handle.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-fcn-handle.cc Tue Mar 12 19:05:21 2019 +0100 +++ b/libinterp/octave-value/ov-fcn-handle.cc Tue Mar 12 11:12:02 2019 -0700 @@ -191,7 +191,7 @@ } if (! fcn_to_call.is_defined ()) - error ("%s: no longer valid function handle", m_name.c_str ()); + error ("%s: invalid function handle", m_name.c_str ()); octave::stack_frame *closure_context = nullptr;