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

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

[Octave-bug-tracker] [bug #57255] "+=" in anonymous function within cell


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57255] "+=" in anonymous function within cell array context should emit an error
Date: Fri, 22 Nov 2019 14:40:54 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #10, bug #57255 (project octave):

OK, the problem was that the "x += ..." thing was being recognized as a word
list command.  But I don't think Matlab allows those in anonymous functions. 
If someone can test, try something like


af = @(x) who x
af = @() dir some-file


If expressions like that are not allowed, then I have a fix in mind, but it is
not quite ready to commit.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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