bugGNU Octave - Bugs: bug #51295, functions in +package directories...

 
 

bug #51295: functions in +package directories no longer work correctly

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu 22 Jun 2017 10:16:46 PM UTC  
 
Category: InterpreterSeverity: 4 - Important
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: John W. Eaton <jwe>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Fri 30 Jun 2017 10:44:17 PM UTC, comment #6:

Verified on Linux as well. Marking as fixed and closing report.

Rik <rik5>
Project Administrator
Wed 28 Jun 2017 06:37:48 PM UTC, comment #5:

Checking on Win-7

Avinoam Kalma <avinoam>
Project Member
Sat 24 Jun 2017 03:54:18 PM UTC, comment #4:

I checked in the following additional changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/c84328c2a6c7

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Fri 23 Jun 2017 11:30:36 PM UTC, comment #3:

This still does not work fully. If the function is called with arguments, nargin is zero

Mike Miller <mtmiller>
Project Administrator
Fri 23 Jun 2017 10:24:18 PM UTC, comment #2:

I checked in the following changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/ffd27f53fc79

I'm not super happy with this change, but I don't see another way to do it at the moment. It does seem to work though, and also seems to fix the problem for bug #51296.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Fri 23 Jun 2017 12:53:30 AM UTC, comment #1:

I started looking at this and I'm not sure exactly what's happening but I suspect it's the subsref part of it that's to blame.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 22 Jun 2017 10:16:46 PM UTC, original submission:

With changeset 084245f9bd03 (https://hg.savannah.gnu.org/hgweb/octave/rev/084245f9bd03), calls to functions in +package directories no longer work correctly.

It's like the function object is being returned as an object instead of being executed.

Mike Miller <mtmiller>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

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 rik5 (Posted a comment)
  • -unavailable- added by avinoam (Posted a comment)
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 30 Jun 2017 10:44:17 PM UTCrik5StatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Fri 23 Jun 2017 10:24:18 PM UTCjweStatusNone=>Ready For Test
    Fri 23 Jun 2017 12:53:30 AM UTCjweAssigned toNone=>jwe

    Back to the top


    Powered by Savane 3.1-cleanup1