[Top][All Lists]

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

[Octave-bug-tracker] [bug #55983] 'x(ix) = []' deletion syntax does not

From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #55983] 'x(ix) = []' deletion syntax does not work for objects
Date: Sat, 23 Mar 2019 00:25:26 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

Follow-up Comment #2, bug #55983 (project octave):

> 2. How do you know its not a problem with your `packajoozle` class? 

The PkgVer class is very simple. But, valid question.

Here's a simpler reproduction case. I have a MyDumbClass.m, the entirety of
which is this:

classdef MyDumbClass
    x = 42;

Same behavior:

>> x = MyDumbClass
x =
<object MyDumbClass>

>> xx = x;
>> xx(2) = x;
>> xx(3) = x;
>> xx(2) = []
error: cannot convert `null_matrix' into `object'


Reply to this item at:


  Message sent via Savannah

reply via email to

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