ccrma / chuck

ChucK Music Programming Language
http://chuck.stanford.edu/
GNU General Public License v2.0
799 stars 127 forks source link

`popFront()` doesn't work with objects #420

Closed terryzfeng closed 8 months ago

terryzfeng commented 8 months ago

Code to reproduce:

class Msg {
    int val;
}

Msg a; 1 => a.val;
Msg b; 2 => b.val;

Msg msg[0];
msg << a << b;
msg.popFront();

Kills miniAudicle and also dies when running on WebChucK (1.5.1.6). I was able to get popFront working with ints, but it doesn't seem to work with object arrays.

gewang commented 8 months ago

ooooops good catch fixed in 6718dbf; will be part of 1.5.2.0