Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2ae4bf371ebbb128deab47b2a73225409c61a61b754cb08f4201b6689d224f26
Ticket: 2a14c349a8db94469af3fdbea422b1c49018e105
inconsistant error-message inTcl_GetNumberFromObj()
User & Date: jan.nijtmans on 2025-09-05 14:29:28
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    Example:
    <pre>
    $ tclsh9.1
    % set x "    "
        
    % incr x
    expected integer but got "    "
    % lindex $x 0
    % incr x
    expected integer but got a list
    </pre>
    
    So, even though $x is the same string value, "incr" gives a different error-message. That should never happen.
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "48. Number Handling"
  15. title changed to:
    inconsistant error-message inTcl_GetNumberFromObj()
    
  16. type changed to: "Bug"