[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 4.0.0-rc1 -- issue with class
From: |
Carlo De Falco |
Subject: |
Re: 4.0.0-rc1 -- issue with class |
Date: |
Mon, 20 Apr 2015 13:11:24 +0000 |
On 18 Apr 2015, at 13:33, Oliver Heimlich <address@hidden> wrote:
> On 18.04.2015 12:43, CdeMills wrote:
>> Hello,
>>
>> I ran the extended tests of the dataframe package under 4.0.0-rc1 (fedora 21
>> / x86_64)
>> Under 3.8.2, the following construct was legal:
>> x=dataframe(randn(3, 3));
>> x.types(2) ='single'
>>
>> The purpose being to change the storage size for the second column. This
>> operation was handled inside @dataframe/subsasgn
>>
>> Under 4.0.0-rc1,
>> 1) this fails with
>> error: a cs-list cannot be further indexed
>> error: invalid assignment to cs-list outside multiple assignment
>> 2) subsasgn is not called at all.
>>
>> Should something be changed in the code w.r.t 4.0.0 ? Is this a known issue
>> ?
>
> Pascal, it looks like either x is not an object or the subscripted assignment
> is called from inside a class method. In these cases x is considered a struct
> array and x.types creates a cs-list, which cannot be indexed.
Is this behaviour connected to what is described in this report:
https://savannah.gnu.org/bugs/?44844
?
> Please verify with typeinfo (x) that x is of type “class”. Is the code
> located inside a class method?
>
> Oliver
c.