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

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

[Octave-bug-tracker] [bug #50452] methods defined as separate function f


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #50452] methods defined as separate function files under +package directory not found
Date: Tue, 22 Aug 2017 14:52:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0

Update of bug #50452 (project octave):

                Category:         Octave Function => Interpreter            
                  Status:                    None => Confirmed              
                 Release:                   4.2.1 => dev                    
        Operating System:       Microsoft Windows => Any                    
                 Summary: Octave is not resolving class functions in +package
folder => methods defined as separate function files under +package directory
not found

    _______________________________________________________

Follow-up Comment #1:

Confirmed in the development version of Octave as well.

One notable way this does work is if the class is defined using classdef
syntax, and if all the methods are defined in the class body, or at least with
prototypes in the class body.  For example


classdef polynomial < handle
...
  methods
    disp (p);
    a = double (p);
    ...
  endmethods
endclassdef


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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