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

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

[Octave-bug-tracker] [bug #61673] classdef - (Access = hidden) results i


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #61673] classdef - (Access = hidden) results in spurious figure window
Date: Wed, 15 Dec 2021 11:31:03 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36 Edg/96.0.1054.53

Follow-up Comment #9, bug #61673 (project octave):

@Rik: That fails with the same error message.

A similar test did succeed though:

classdef testclassdef
  
  methods (Access = public)
    function this = testclassdef (varargin)
      a = 1;
    end
  end
  
  methods (Access = 'public')
    function this = say_hello(this)
      disp('hello');
    end
  end
  
end


So, literal strings corresponding to the allowed keywords are also ok. Literal
strings that differ from any of the allowed keywords result in an error on
object construction (if the `methods` block isn't empty).


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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