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

 
 

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

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

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project AdministratorIn charge of this item.

 

(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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5