[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56864] InferiorClasses triggers an error if i
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #56864] InferiorClasses triggers an error if inferior class is not found |
Date: |
Fri, 6 Sep 2019 12:01:22 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?56864>
Summary: InferiorClasses triggers an error if inferior class
is not found
Project: GNU Octave
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: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: 5.1.0
Operating System: GNU/Linux
_______________________________________________________
Details:
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.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 06 Sep 2019 04:01:19 PM UTC Name: example1.tar.gz Size: 354B By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=47460>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56864>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #56864] InferiorClasses triggers an error if inferior class is not found,
anonymous <=