bugGNU Octave - Bugs: bug #50452, Octave is not resolving class...


bug #50452: Octave is not resolving class functions in +package folder

Submitted by:  Marc Dirix <dirixmjm>
Submitted on:  Sat 04 Mar 2017 08:22:35 AM UTC  
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.2.1Operating System: Microsoft Windows

Add a New Comment(Rich Markup)

You are not logged in

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


Sat 04 Mar 2017 08:22:35 AM UTC, original submission:

If I create the following class (from the documentation)


I am able to use the class as:

>> p = polynomial([-1 0 1])

p = - 1 + X ^ 2

>> display(p)

p = - 1 + X ^ 2

However, if I put this in a +package as follows:

Then the function "display.m" is not resolved.

>> p = polynomial([-1 0 1])

p = <class polynomial>

>> display(p)

p = <class polynomial>

If I insert the display function inside the polynomial.m file it is once more resolved correctly.

So in effect it doesn't register the location of the class correctly.

Marc Dirix <dirixmjm>


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by dirixmjm (Submitted the item)
  • -unavailable- added by dirixmjm

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

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Mar 2017 08:22:35 AM UTCdirixmjmCarbon-Copy-=>Added dirixmjm

    Back to the top

    Powered by Savane 3.1-cleanup1