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

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

[Octave-bug-tracker] [bug #53579] Change in global handling for variable


From: Michael Godfrey
Subject: [Octave-bug-tracker] [bug #53579] Change in global handling for variable in global and passed as argument
Date: Sat, 7 Apr 2018 15:06:43 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

Update of bug #53579 (project octave):

                Priority:              5 - Normal => 7 - High               

    _______________________________________________________

Follow-up Comment #1:

The new behavior is in the current stable 4.3.0+ version.
This means that the new release is incompatible with
the current 4.2.2 and with Matlab.

It may be confusing for users of the new release to just
report: "error: 'aa' undefined near line 5 column 3..."
where previously the variable was still defined.

It might be best to detect this case (variable in global
list and passed as argument) and report it as a warning.
This choice is compatible with the current Matlab
which behaves like 4.2.2, but also produces a confusing
diagnostic.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53579>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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