Mercurial > octave
view test/bug-50014/duplicate_nested_in_subfunction_ok.m @ 31615:40b151abbb9b
don't attempt to restore settings from old qt-settings config file
We changed the default settings file name in 2019. It's time to let
the old name go.
* resource-manager.cc (resource_manager::resource_manager):
Don't attempt to copy settings from old qt-settings file used by
Octave prior to March 2019.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 02 Dec 2022 10:07:32 -0500 |
parents | 0c99b8c2e5bb |
children |
line wrap: on
line source
## Test that duplicate names in separate subfunctions are OK. function retval = duplicate_nested_in_subfunction_ok () retval = sub1 () + sub2 (); endfunction function r = sub1 () function notbug () r = 1; endfunction notbug (); endfunction function r = sub2 () function notbug () r = 2; endfunction notbug (); endfunction