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

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

[Octave-bug-tracker] [bug #57988] creating function handle @get or @set


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #57988] creating function handle @get or @set fails
Date: Thu, 12 Mar 2020 15:17:07 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?57988>

                 Summary: creating function handle @get or @set fails
                 Project: GNU Octave
            Submitted by: jwe
            Submitted on: Thu 12 Mar 2020 07:17:06 PM UTC
                Category: Interpreter
                Severity: 5 - Blocker
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: jwe
         Originator Name: jwe
        Originator Email: 
             Open/Closed: Open
                 Release: 6.0.90
         Discussion Lock: Any
        Operating System: Any

    _______________________________________________________

Details:


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.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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