[Top][All Lists]

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

[Octave-bug-tracker] [bug #55766] properties function should not return

From: Rik
Subject: [Octave-bug-tracker] [bug #55766] properties function should not return Hidden properties
Date: Fri, 14 Jun 2019 18:46:09 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #5, bug #55766 (project octave):

I encounter a problem when the value for a classdef parameter is not a string,
but a boolean.  Consider the following test class

classdef testprop4

  properties (Hidden = true)
    anotherhiddentestprop = 0;

  properties (Hidden = false)
    notahiddentestprop = 0;


In this case, the value for "Hidden" is a boolean.  When I run this code I

octave:1> testprop4
ans =

  testprop4 object with properties:

error: octave_base_value::bool_value(): wrong type argument 'sq_string'

This does not occur for parameters such as "Access" which take a string value
like "public".

(file #47101)

Additional Item Attachment:

File name: testprop4.m                    Size:0 KB


Reply to this item at:


  Message sent via Savannah

reply via email to

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