bugGNU Octave - Bugs: bug #56864, InferiorClasses triggers an error...

 
 

bug #56864: InferiorClasses triggers an error if inferior class is not found

Submitter:  None
Submitted:  Fri 06 Sep 2019 04:01:19 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  None Assigned to:  None
Originator Name:  JD Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 5.1.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Fri 06 Sep 2019 04:01:19 PM UTC, original submission:  

Class precedence parameter leads to an error if the class mentioned is not in the path. Here is the output of the code in example1 (class a is declared as inferior to class b, which is defined in another folder) :


octave:1> a
error: class not found: b
octave:1> addpath([pwd, '/subfolder'])
octave:2> a
constructor of class a
ans =

<object a>


The fact that a class takes precedence over another one should not be difficult to fulfill if the other class is not present on the system... Being unable to use the superior class in this situation is blocking. This is not an error in matlab.

Anonymous

 

Attached Files

Attached Files
file #47460:  example1.tar.gz added by None (354B - application/gzip)

(Note: upload size limit is set to 16MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by None (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-06 None Attached File- Added example1.tar.gz, #47460

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code