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

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

[Octave-bug-tracker] [bug #32296] matlabbatch: equivalent subscript assi


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #32296] matlabbatch: equivalent subscript assignments produce unequal results
Date: Tue, 21 Jan 2014 07:06:54 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Update of bug #32296 (project octave):

                  Status:               Need Info => Confirmed              

    _______________________________________________________

Follow-up Comment #5:

Yes, the example with the provided class definitions still shows the reported
problem in the current development version. Here's another way of looking at
the symptom:


> x = cfg_repeat ();
> y = cfg_repeat ();
> isequal (x, y)
ans =  1
> a = cfg_exbranch ();
> x.values{1} = a;
> y.values{1} = cfg_exbranch ();
> isequal (x, y)
ans =  1
> a.tag
ans = generic
> a.tag = "ex";
> x.values{1} = a;
> x.values{1}.tag
error: class has no member 'tag'
error: called from:
error:   /.../cfg_callbuiltin.m at line 10, column 18
error:   /.../@cfg_repeat/subsref.m at line 68, column 34
> y.values{1} = cfg_exbranch ();
> y.values{1}.tag = "ex";
> isequal (x, y)
ans = 0

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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