bugGNU Octave - Bugs: bug #55975, shadowed package functions result...


bug #55975: shadowed package functions result in incorrect calls

Submitted by:  John W. Eaton <jwe>
Submitted on:  Thu 21 Mar 2019 07:14:27 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  John W. Eaton <jwe>
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Mon 25 Mar 2019 07:17:29 PM UTC, comment #1: 

I backed out changeset 40d44f2f942 here:


and that seems to have fixed this problem for me.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 21 Mar 2019 07:14:27 PM UTC, original submission:  

Given a directory layout like


and the current directory for Octave in "top", calling the function

pkga.pkgb.foo ()

calls the top-leve function foo instead of the one defined in the package directory.  This also happens when the function is called through a functio handle.  The same result occurs for classdef static methods.

I'm working on a fix but wanted a bug report number for tests I'm adding to the test suite.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by jwe (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.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-25 jwe StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.5