[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expr
From: |
John W. Eaton |
Subject: |
[Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression |
Date: |
Mon, 13 Aug 2018 12:24:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #7, bug #54490 (project octave):
In the multiple assignment form "[lhs, ...] = rhs", Octave creates an object
from the lhs to determine what nargout should be, then evaluates the RHS. For
the single assignment form "lhs = rhs", we have been doing things the other
way, since the assumption is that the only possible value for nargout here is
1. But it would probably be better for both of these cases to be handled
consistently. I think the attatched diff does that.
(file #44774)
_______________________________________________________
Additional Item Attachment:
File name: backslash-warning-diffs.txt Size:2 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54490>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, anonymous, 2018/08/11
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Philip Nienhuis, 2018/08/11
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, anonymous, 2018/08/11
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Philip Nienhuis, 2018/08/11
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Philip Nienhuis, 2018/08/11
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, anonymous, 2018/08/11
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Philip Nienhuis, 2018/08/12
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Guillaume, 2018/08/13
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression,
John W. Eaton <=
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, John W. Eaton, 2018/08/13
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, John W. Eaton, 2018/08/14
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Philip Nienhuis, 2018/08/17
- [Octave-bug-tracker] [bug #54490] Order of evaluation in assignment expression, Rik, 2018/08/27