#3579 incr float doesn't error

obsolete: 8.5a5
closed-fixed
8
2006-11-27
2006-11-26
William J.
No

% 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.

Discussion

  • Donal K. Fellows

    • labels: 105658 --> 47. Bytecode Compiler
    • priority: 5 --> 8
    • assigned_to: dkf --> msofer
     
  • Don Porter

    Don Porter - 2006-11-27
    • assigned_to: msofer --> dgp
    • status: open --> closed-fixed
     
  • Don Porter

    Don Porter - 2006-11-27

    Logged In: YES
    user_id=80530
    Originator: NO

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

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks