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:49:59 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

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

Another place where there may be a compatibility issue is for calling static
class methods.  As I understand it, if a class named "foo" has a static member
function named "bar", then


Foo.bar


should call the static member function.  What does Matlab do for


Foo.bar.baz


?  Is this an error?  If not, what happens with the ".baz" part of this
expression?

Octave currently ignores the ".baz" part, which I think is wrong.    If we did
the same as for other functions, then we would call foo.bar and then index the
result with ".baz".  It may be possible, though I think it will be more
complicated than making it an error.

    _______________________________________________________

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]