Share

Tcl

Tracker: Bugs

8 incr float doesn't error - ID: 1602991
Last Update: Comment added ( dgp )

% unset -nocomplain a ; incr a 1.5
168432184

I would expect this to generate the same warning as 8.4:
expected integer but got "1.5"

Man pages for 8.5a5 don't indicate a change in the float-related behavior
here.

Discovered while testing tcl on parrot.


William J. ( wjc ) - 2006-11-26 03:17

8

Closed

Fixed

Don Porter

47. Bytecode Compiler

obsolete: 8.5a5

Public


Comment ( 1 )

Date: 2006-11-27 15:10
Sender: dgpProject Admin



Thanks. Silly
copy/paste/forget to modify
bug in TclIncrObj().




Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Open 2006-11-27 15:10 dgp
resolution_id None 2006-11-27 15:10 dgp
assigned_to msofer 2006-11-27 15:10 dgp
close_date - 2006-11-27 15:10 dgp
priority 5 2006-11-26 13:23 dkf
assigned_to dkf 2006-11-26 13:23 dkf
category_id 17. Commands I-L 2006-11-26 13:23 dkf