[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #46282] Newly defined functions within a names
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #46282] Newly defined functions within a namespace are inaccessible via that namespace until restart of the octave session |
Date: |
Mon, 21 Dec 2015 14:36:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.2.1 |
Update of bug #46282 (project octave):
Status: Works For Me => Confirmed
_______________________________________________________
Follow-up Comment #3:
I can confirm the bug here. The example must be run in a single Octave session
and it must be run interactively, not pasted or run as a script.
If I combine the first two lines:
mkdir "./+Foo"; f = fopen("./+Foo/bar.m","wt");
fdisp (f, "function bar");
fdisp (f, " disp('Hello from Foo.bar');");
fdisp (f, "endfunction");
fclose(f);
Foo.bar
it works. Maybe something to do with the way Octave detects +namespace
directories appearing but not rescanning them if they are empty at the time?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46282>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #46282] Newly defined functions within a namespace are inaccessible via that namespace until restart of the octave session,
Mike Miller <=