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


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

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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.



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.5