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

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

[Octave-bug-tracker] [bug #60845] Variables in nested functions exhibit


From: Rik
Subject: [Octave-bug-tracker] [bug #60845] Variables in nested functions exhibit multiple problems
Date: Mon, 28 Jun 2021 18:16:48 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36

Follow-up Comment #7, bug #60845 (project octave):

Using jwe's patch posted over on Discourse
(https://octave.discourse.group/uploads/short-url/x9g6sUdfUKstx4s6vDZtFapuP3d.txt),
the second and third issues are resolved.  However, issue #1 is still not
fixed.

Observation #1 : variables, as determined by 'who', show up in scopes where
they should not be.

It may be that Octave should be using std::set rather than std::list when it
creates the list of variable names that are visible in the current scope.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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