bugGNU Octave - Bugs: bug #57988, creating function handle @get or...

 
 

bug #57988: creating function handle @get or @set fails

Submitter:  John W. Eaton <jwe>
Submitted:  Thu 12 Mar 2020 07:17:06 PM UTC
   
 
Category:  Interpreter Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  jwe
Originator Name:  jwe Open/Closed:  * Closed
Release:  * 6.0.90 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 15 Mar 2020 09:11:32 PM UTC, comment #1: 

jwe checked in a fix for this.  See changeset 28156:22cddebcb0d0.

Closing report.


Rik <rik5>
Group administrator
Thu 12 Mar 2020 07:17:06 PM UTC, original submission:  


octave:1> @get
error: parse error:

  function handles may not refer to keywords

>>> @get
       ^


I found this problem when trying to run bode from the control packge with Octave 7, but the problem is present on the stable branch too.  Both @lti/tfdata.m and @tf/__get__.m use @get.

In some cases, "get" and "set" behave like keywords, but they are also plain old functions and we should be able to create handles to them.

John W. Eaton <jwe>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-15 rik5 StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code