From b262d310b218102aeb88ec233acf77fe4d82f7ad Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 11 Sep 2006 11:09:15 +0000 Subject: 22686: unset array if assigning numeric parameter --- Test/C01arith.ztst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Test') diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index 9bab48244..9867b5d9a 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -97,6 +97,12 @@ 0:setting array elements in math context >array 1 2 + xarr=() + (( xarr = 3 )) + print ${(t)xarr} $xarr +0:converting type from array +>integer 3 + print $(( 13 = 42 )) 1:bad lvalue ?(eval):1: lvalue required -- cgit 1.4.1