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

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

[Octave-bug-tracker] [bug #55667] Conflict between package namespace and


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #55667] Conflict between package namespace and function name
Date: Thu, 14 Feb 2019 18:17:17 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Follow-up Comment #10, bug #55667 (project octave):

Mike: I don't want to remove this functionality.  Right now, I'm just trying
to understand whether Octave's current behavior causes compatibility issues.

Am I remembering correctly that Matlab does not allow a function foo that
returns a struct to be indexed as


foo.bar


?

In any case, what does Matlab do if you have a function foo and ask


which foo.bar


And what does it do if you have a function bar.m in a package directory named
+foo and you ask


which foo.bar.baz


?  I'm guessing both fail?

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55667>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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