[857] in Coldmud discussion meeting
Method decompiler bug in 0.2-10
daemon@ATHENA.MIT.EDU (Fri Dec 15 11:12:22 1995
)
Date: Fri, 15 Dec 1995 16:20:49 +0100
From: silovic@phy.hr (Miroslav Silovic)
To: coldstuff@tombstone.sunrem.com
Sorry if you got this twice, I really hope my prev letter was killed.
OK, there's a problem with decompiling chained indices. Here's an
example:
>@program .foo
-- Programming $miro.foo() --
>var x,y;
>x=(y=x[1][1])[1];
>.
Method $miro.foo() compiled
>@list .foo
@program $miro.foo +public
var x, y;
x = y = x[1][1][1];
// $#Edited: 15 Dec 95 16:18 Miro ($miro)
The parentheses about y=x[1][1] are removed; this code doesn't do the same
thing.