octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60245] Wrong result with nested function call


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60245] Wrong result with nested function calls
Date: Thu, 1 Apr 2021 03:48:10 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #60245 (project octave):

                  Status:               Confirmed => Need Info              

    _______________________________________________________

Follow-up Comment #2:

What is the expected correct result for the run_f1 script?  After the
following changes I made for bug #60137 and bug #60237, I see:


octave:1> cd issue
octave:2> run_f1
x = 2
x = 2


http://hg.savannah.gnu.org/hgweb/octave/rev/0574c36a095e
http://hg.savannah.gnu.org/hgweb/octave/rev/c74ff452e2bb
http://hg.savannah.gnu.org/hgweb/octave/rev/34d06c73b48d

These changesets make changes in public interfaces, which is something that we
try to avoid during a stable release series.  OTOH, they are important to make
handles to nested and anonymous functions work properly.  And since handles to
nested functions were one of the big new features of Octave 6, I'm in favor of
making this change in version 6 even if it causes some (small) backward
compatibility issues.  These interfaces are not something that typical users
(even those who write .oct files) will encounter.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60245>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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