[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods
From: |
Colin Macdonald |
Subject: |
[Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice |
Date: |
Sun, 24 Jul 2022 00:38:10 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62802>
Summary: "methods classdef" shows some methods twice
Project: GNU Octave
Submitter: cbm
Submitted: Sun 24 Jul 2022 04:38:09 AM UTC
Category: Classdef
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 24 Jul 2022 04:38:09 AM UTC By: Colin Macdonald <cbm>
Today's tip. Can also reproduce in 7.1.0 and 6.4.0 and I think in the other
6.X.Y.
MWE: see attached `test_classdef.m` and `amethod.m` place both files in a
directory called `@test_classdef`. Or find the same class in Doctest package
`test/@test_classdef`
Then do:
>> methods test_classdef
Methods for class test_classdef:
amethod disp test_classdef amethod test_classdef
We note that "amethod" appears twice. So does "test_classdef". But "disp"
appears only once. It seems that external mfile methods are duplicated and
the ctor is but not other methods. But I have not extensively experimented
yet.
Note: I think it is correct for the ctor to appear in the list (once) b/c the
ctor can have different help than the class itself (another issue about that
to follow).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 24 Jul 2022 04:38:09 AM UTC Name: test_classdef.m Size: 939B By:
cbm
place both in @test_classdef folder
<http://savannah.gnu.org/bugs/download.php?file_id=53467>
-------------------------------------------------------
Date: Sun 24 Jul 2022 04:38:09 AM UTC Name: amethod.m Size: 93B By: cbm
place both in @test_classdef folder
<http://savannah.gnu.org/bugs/download.php?file_id=53468>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62802>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice,
Colin Macdonald <=
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, anonymous, 2022/07/30
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, Markus Mützel, 2022/07/30
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, Colin Macdonald, 2022/07/30
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, Colin Macdonald, 2022/07/30
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, Michael Bagherpour, 2022/07/30
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, Colin Macdonald, 2022/07/31
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, Michael Bagherpour, 2022/07/31
- [Octave-bug-tracker] [bug #62802] "methods classdef" shows some methods twice, John W. Eaton, 2022/07/31