|
|
|
@ -6345,7 +6345,7 @@ tcl::namespace::eval punk::args { |
|
|
|
} |
|
|
|
} |
|
|
|
indexexpression { |
|
|
|
indexexpression { |
|
|
|
#tcl 9.1+? tip 615 'string is index' |
|
|
|
#tcl 9.1+? tip 615 'string is index' |
|
|
|
if {$echeck eq "" || [catch {lindex {} $e_check}]} { |
|
|
|
if {$e_check eq "" || [catch {lindex {} $e_check}]} { |
|
|
|
set msg "$argclass $argname for %caller% requires type indexexpression. An index as used in Tcl list commands. Received: '$e_check'" |
|
|
|
set msg "$argclass $argname for %caller% requires type indexexpression. An index as used in Tcl list commands. Received: '$e_check'" |
|
|
|
#return -options [list -code error -errorcode [list PUNKARGS VALIDATION [list typemismatch $type] -badarg $argname -argspecs $argspecs]] $msg |
|
|
|
#return -options [list -code error -errorcode [list PUNKARGS VALIDATION [list typemismatch $type] -badarg $argname -argspecs $argspecs]] $msg |
|
|
|
lset clause_results $c_idx $a_idx [list errorcode [list PUNKARGS VALIDATION [list typemismatch $type] -badarg $argname -argspecs $argspecs] msg $msg] |
|
|
|
lset clause_results $c_idx $a_idx [list errorcode [list PUNKARGS VALIDATION [list typemismatch $type] -badarg $argname -argspecs $argspecs] msg $msg] |
|
|
|
|