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

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

[Octave-bug-tracker] [bug #59304] exist() does not find a class inside @


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #59304] exist() does not find a class inside @class directory
Date: Fri, 30 Oct 2020 12:07:08 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Follow-up Comment #14, bug #59304 (project octave):

We don't need to probe too deeply into Matlab's own functions.  I just thought
that some simple which/exist/methods/properties calls could tell what type of
object we were looking at.  I really don't know how to tell for sure whether
something is a classdef object or a legacy class object.  Plus, some of these
objects could be implemented internally and just look like classdef or legacy
objects.

In any case, I'll try to write a script with some tests to see if we can at
least get the basics right.

And yes, exist is much more complicated now than it was back in the days when
there were variables, functions in .m files, directories, and plain old files
with no packages, subfunctions, local functions, nested functions, legacy
classes, classdef classes, java objects, etc.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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