Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2a70ccbb8d1ada817c0fe3d7e67c5892add27ee5
Ticket: 3024379fffffffffffffffffffffffffffffffff
Errors thrown by the expr command may give NONE as errorCode
User & Date: arjenmarkus on 2010-07-02 13:55:28
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Consider the following erroneous calls to expr:
    
    expr {sqrt(-1)/2.0} and expr {sqrt(1/2.0}
    
    The error messages are clear enough - a non-numeric floating point value in the first case and a missing parenthesis in the second.
    In both cases however errorCode is NONE.
    
    This makes it hard to distinguish domain errors and syntax errors 
    
    Tcl version: 8.5.8
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "arjenmarkus"
  10. subsystem changed to: "None"
  11. title changed to:
    Errors thrown by the expr command may give NONE as errorCode
    
  12. type changed to: "Bug"