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: Rik
Subject: [Octave-bug-tracker] [bug #57255] "+=" in anonymous function within cell array context should emit an error
Date: Fri, 22 Nov 2019 15:04:19 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #57255 (project octave):

                  Status:          Ready For Test => In Progress            

    _______________________________________________________

Follow-up Comment #11:

The expressions you mentioned in comment #10 are not parsed by Matlab.

The functional versions, however, are accepted.


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


Even though there is no parse error, the first example doesn't work if you try
to invoke the created anonymous function.


    _______________________________________________________

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]