diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2020-11-01 14:25:49 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2020-11-01 14:25:49 (GMT) |
commit | b7efdfe9bc03114b633073ed9d4423e4f88582c5 (patch) | |
tree | def8a718bfc5e1ea62892acbdad2afda27b07a3b /tests/proc.test | |
parent | 63855497af431a6ee84d67b62ade8694485d76c9 (diff) | |
parent | 3b0ee42270085b039b75e2e27a3a145399a1bfac (diff) | |
download | tcl-b7efdfe9bc03114b633073ed9d4423e4f88582c5.zip tcl-b7efdfe9bc03114b633073ed9d4423e4f88582c5.tar.gz tcl-b7efdfe9bc03114b633073ed9d4423e4f88582c5.tar.bz2 |
Merge 8.7
Diffstat (limited to 'tests/proc.test')
-rw-r--r-- | tests/proc.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proc.test b/tests/proc.test index 7039dbb..4b539c4 100644 --- a/tests/proc.test +++ b/tests/proc.test @@ -100,7 +100,7 @@ test proc-1.7 {Tcl_ProcObjCmd, check that formal parameter names are not array e catch {rename p ""} } -returnCodes error -body { proc p {a(1) a(2)} { - set z [expr $a(1)+$a(2)] + set z [expr {$a(1)+$a(2)}] puts "$z=z, $a(1)=$a(1)" } } -result {formal parameter "a(1)" is an array element} |