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

Add a New Comment Rich Markup
   

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

 

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

Attach Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

    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.13-3230.
    Corresponding source code