The proc didn't support registry incr <variable> <term>,
only registry incr <variable>.
Fixes T793.
Differential D349
Correct behavior for `registry incr` dereckson on Mar 27 2016, 16:26. Authored by Tags None Referenced Files
Subscribers None
Details The proc didn't support registry incr <variable> <term>, Fixes T793. Actual incrementation
Error handling
Tested on Wearg 16:22:08 <Dereckson> .s Core 16:22:09 <Dereckson> .tcl registry incr quux 16:22:09 <Wearg> Tcl: 16:22:12 <Dereckson> .tcl registry incr quux 16:22:12 <Wearg> Tcl: 16:22:13 <Dereckson> .tcl registry incr quux 16:22:13 <Wearg> Tcl: 16:22:14 <Dereckson> .tcl registry incr quux 16:22:14 <Wearg> Tcl: 16:22:16 <Dereckson> .tcl registry incr quux 9 16:22:16 <Wearg> Tcl: 16:22:18 <Dereckson> .tcl registry incr quux foo 16:22:18 <Wearg> Tcl error: The increment term must be integer. 16:22:29 <Dereckson> .tcl registry get quux 16:22:29 <Wearg> Tcl: 13
Diff Detail
|