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

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

[Octave-bug-tracker] [bug #60237] Differente behaviour in anonymous func


From: anonymous
Subject: [Octave-bug-tracker] [bug #60237] Differente behaviour in anonymous function handling
Date: Fri, 2 Apr 2021 12:16:40 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:68.9) Gecko/20100101 Goanna/4.6 Firefox/68.9 Mypal/28.14.2

Follow-up Comment #17, bug #60237 (project octave):

Oh sorry and Thanks! I wrongly read the test case as the following that should
produce error:


function r = bug_60237 ()

  r = ancall (2) + 1;

endfunction


function r = ancall (a)

  d = 2;

  function c = bm (a)

    c = a + d;

  endfunction;

  r = @() bm (a);

endfunction


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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