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

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

[Octave-bug-tracker] [bug #64419] isequal fails for old-style @class obj


From: Rik
Subject: [Octave-bug-tracker] [bug #64419] isequal fails for old-style @class objects
Date: Wed, 12 Jul 2023 14:38:54 -0400 (EDT)

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

                 Summary: isequal fails for old-style @class objects
                   Group: GNU Octave
               Submitter: rik5
               Submitted: Wed 12 Jul 2023 11:38:52 AM PDT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 12 Jul 2023 11:38:52 AM PDT By: Rik <rik5>
Code to reproduce:


octave:2> r = audiorecorder ();
octave:3> r2 = r;
octave:4> isequal (r, r2)
error: isequal: Impossible to reach code.  File a bug report.
error: called from
    isequal at line 182 column 9
    isequal at line 137 column 18


Per Octave's instructions, I'm filing a bug report.

Note that new-style classdef objects do work.


octave:7> m = containers.Map ();
octave:8> m2 = m;
octave:9> isequal (m, m2)
ans = 1


Apparently this has been present for a very long time because I went and tried
Octave-4.4.1 and it has the same error. 







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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