|
| From: | Guillaume |
| Subject: | [Octave-bug-tracker] [bug #54658] Private directory in +package |
| Date: | Thu, 13 Sep 2018 12:19:42 -0400 (EDT) |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 |
URL:
<https://savannah.gnu.org/bugs/?54658>
Summary: Private directory in +package
Project: GNU Octave
Submitted by: gyom
Submitted on: Thu 13 Sep 2018 04:19:41 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Matlab Compatibility
Status: None
Assigned to: None
Originator Name: Guillaume
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Functions in a private directory of a +package cannot be called:
+mypkg
├── myfcn.m
└── private
└── myprivatefcn.m
function myfcn ()
disp ("myfcn");
myprivatefcn ();
endfunction
function myprivatefcn ()
disp ("myprivatefcn");
endfunction
octave:1> mypkg.myfcn ()
myfcn
error: 'myprivatefcn' undefined near line 3 column 5
error: called from
myfcn at line 3 column 5
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?54658>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |