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

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

[Octave-bug-tracker] [bug #58389] field key not recognized in anonymous


From: Rik
Subject: [Octave-bug-tracker] [bug #58389] field key not recognized in anonymous function handle
Date: Mon, 18 May 2020 10:45:33 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #58389 (project octave):

                Category:                    None => Interpreter            
                Severity:              3 - Normal => 4 - Important          
              Item Group:                    None => Regression             
                  Status:                    None => Confirmed              
                 Summary: field key not recognized => field key not recognized
in anonymous function handle

    _______________________________________________________

Follow-up Comment #1:

Confirmed.  This is a regression from 5.2 and I marked it as such and raised
the severity.  jwe has been working on completely overhauling function handles
in Octave.  It is likely that when that set of changes is checked in this will
be fixed.  I'm add him to the CC list just in case.

The problem is not with arrayfun, but with function handles.  Here is even
simpler code to demonstrate the issue.  Notice how the handle is not printed
out correctly, and subsequently fails to work.


s = "x";
a.(s) = [e pi];
f = @(x) a.(s)(x)
f =

@(x) a. (x)

f(1)
error: 's' undefined near line 1, column 1




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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