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

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

[Octave-bug-tracker] [bug #30666] error: invalid assignment to cs-list o


From: Judd Storrs
Subject: [Octave-bug-tracker] [bug #30666] error: invalid assignment to cs-list outside multiple assignment.
Date: Fri, 06 Aug 2010 18:42:43 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4

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

The MATLAB 7.0.4 release notes do state that this warning will become an
error in a future release of MATLAB. Since Mathworks recommends that all code
should be rewritten I don't think it's particularly important to emulate an
orphaned "feature".

I don't agree that this should be implemented because code that relies on it
would behave unreliably with custom data types. One can easily have a
different datatype (for example @myclass) that behaves both simultaneously as
matrix and as struct such that, for example

a = myclass(2,1);
a.x = a ;

does not delete a and does not cause an error. Emulating the old behavior
seems to just add a special case. Since even Mathworks is abandoning this
behavior, my suggestion is to update your code.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?30666>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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