|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #57255] += operator behaves differently to manual increment and ++ operator |
Date: | Mon, 18 Nov 2019 13:48:12 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36 |
Follow-up Comment #1, bug #57255 (project octave): Yes, I think this is related to open bug #47676 (which bug #53871 is a duplicate of). It's very easy to see that the parser is dropping the '+' when it parses the contents of the anonymous function: >> counter = @() {x += 1;}{end}; >> counter counter = @() {x = 1} {end} _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?57255> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |