bugGNU Octave - Bugs: bug #44856, impossible to nest one package...

 
 

bug #44856: impossible to nest one package inside another

Submitted by:  sergey plotnikov <nul0m>
Submitted on:  Thu 16 Apr 2015 02:37:42 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: Michael Goffioul <goffioul>
Originator Name: Open/Closed: Closed
Release: 4.0.0Operating System: Any

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)

Tue 02 Jun 2015 04:46:54 PM UTC, comment #8:

Retagging release from 4.0.0-rc3 to 4.0.0.

John W. Eaton <jwe>
Project Administrator
Sun 19 Apr 2015 11:33:36 PM UTC, comment #7:

Submitted with this cset: http://hg.savannah.gnu.org/hgweb/octave/rev/a8769ccb2c4e

Michael Goffioul <goffioul>
Project MemberIn charge of this item.
Sun 19 Apr 2015 10:18:30 PM UTC, comment #6:

The attached patch should solve the problem. Although the combined solution for bugs #43769 and this one doesn't really look very efficient.

(file #33724)

Michael Goffioul <goffioul>
Project MemberIn charge of this item.
Sun 19 Apr 2015 10:05:36 PM UTC, comment #5:

Ok, thanks, I missed the earlier commit that broke package namespaces. You are exactly right, before cset 8fe29850fb74, the following works:

After that cset, both fail to find the respective functions, and after 8b501a0db1e9 is as today, a package within another package doesn't work.

Mike Miller <mtmiller>
Project Administrator
Sun 19 Apr 2015 08:32:00 PM UTC, comment #4:

There was a first attempt to solve the bug with the cset http://hg.savannah.gnu.org/hgweb/octave/rev/8fe29850fb74 which was reverted with cset http://hg.savannah.gnu.org/hgweb/octave/rev/8b501a0db1e9. You should try before those 2 changes were made.

Michael Goffioul <goffioul>
Project MemberIn charge of this item.
Sun 19 Apr 2015 07:36:31 PM UTC, comment #3:

Well, it appears to have been broken already before that fix was made. With cset 10600b2dd3c1, which preceded the fix, I get:

Updating to the fix cset 8b501a0db1e9, I get

Mike Miller <mtmiller>
Project Administrator
Sun 19 Apr 2015 06:56:32 PM UTC, comment #2:

I've a feeling this might be related to the fix for bug #43769.

Michael Goffioul <goffioul>
Project MemberIn charge of this item.
Sat 18 Apr 2015 07:44:15 PM UTC, comment #1:

Thanks for your bug report. I can confirm this with the current default branch, and that it used to work with changeset 932aca9a7c57, which looks to me like where the feature was first added.

Mike Miller <mtmiller>
Project Administrator
Thu 16 Apr 2015 02:37:42 PM UTC, original submission:

For some reason I'm not able to call a script from the package folder nested inside another package (i.e. +pkg1/+pkg2/myfun.m). It used to work in previous compilations of default branch.

Here is the example:

content of +pkg1/s1.m:

content of +pkg1/+pkg2/s2.m:

sergey plotnikov <nul0m>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #33724:  bug44856.diff added by goffioul (831B - text/x-patch - Patch to solve issue)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by goffioul (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by nul0m (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 02 Jun 2015 04:46:54 PM UTCjweRelease4.0.0-rc3=>4.0.0
    Sun 19 Apr 2015 11:33:36 PM UTCgoffioulAssigned toNone=>goffioul
      Open/ClosedOpen=>Closed
    Sun 19 Apr 2015 10:18:30 PM UTCgoffioulAttached File-=>Added bug44856.diff, #33724
    Sat 18 Apr 2015 07:44:15 PM UTCmtmillerCategoryNone=>Interpreter
      Item GroupNone=>Incorrect Result
      StatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any

    Back to the top


    Powered by Savane 3.1-cleanup1