octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46282] Newly defined functions within a names


From: Tasos Papastylianou
Subject: [Octave-bug-tracker] [bug #46282] Newly defined functions within a namespace are inaccessible via that namespace until restart of the octave session
Date: Sat, 24 Oct 2015 14:54:55 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

URL:
  <http://savannah.gnu.org/bugs/?46282>

                 Summary: Newly defined functions within a namespace are
inaccessible via that namespace until restart of the octave session
                 Project: GNU Octave
            Submitted by: tpapastylianou
            Submitted on: Sat 24 Oct 2015 14:54:54 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: Tasos Papastylianou <poacheR>
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Terminal session to reproduce bug:


>> 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
error: member `bar' in package `Foo' does not exist
>> exit
% restart octave session (in the same directory)
>> Foo.bar
Hello from Foo.bar


This bug links to "bug #46281: newly defined private functions are
inaccessible until restart of octave session", likely representing the same
issue under the hood, but listed here as a separate bug as per irc chat
request (jwe).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46282>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]