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

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

[Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods


From: anonymous
Subject: [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice
Date: Sat, 30 Jul 2022 04:22:15 -0400 (EDT)

Follow-up Comment #1, bug #62802 (project octave):

Stepping through the code at libinterp/octave-value/ov-classdef.cc with gdb
(image attached), it looks like the files in the class are added first in the
loop at line 754, and then again at line 767. 
The comment at line 764 says that this is meant to deal with legacy @class
methods. I don't know the full context, but I wonder if legacy @class methods
still need to be handled as a special case. 
If it does need to handle the special case, I think we should be able to use
string_vector::uniq() to eliminate the duplicates. However, in brief testing
it seems like uniq() might also have a bug -- it's not working for me. 

(file #53488)

    _______________________________________________________

Additional Item Attachment:

File name: Screenshot from 2022-07-30 00-25-27.png Size:143 KB
    <https://file.savannah.gnu.org/file/Screenshot from 2022-07-30
00-25-27.png?file_id=53488>



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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