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

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

[Octave-bug-tracker] [bug #59735] classdef sub-classing another class wi


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #59735] classdef sub-classing another class with the same name
Date: Thu, 4 Feb 2021 07:23:21 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.96 Safari/537.36 Edg/88.0.705.56

Follow-up Comment #3, bug #59735 (project octave):

I modified the class definition like so to make it actual Matlab syntax:

classdef crashoctaveclass < crashoctaveclass
  methods
    function this = crashoctaveclass()
    end
  end
end


With that, I see the following in Matlab R2020b:

>> a = crashoctaveclass();
Error using crashoctaveclass
The class 'crashoctaveclass' is used in its own class definition as a base
class, property value, or attribute value.  This is not allowed.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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