Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0b67a78f900a80e82ea6acf25c8a2ab6913d490c
Ticket: 213b6a2b9d42ba2df4171af2c97511bd3b2c15f2
EIAS violation in level parsing
User & Date: dgp on 2016-04-06 02:03:27
Changes

  1. icomment:
    
    Another EIAS problem illustrated:
    
    % apply {{} {uplevel -4294967295 {}}}
    invalid command name "-4294967295"
    % apply {{} {uplevel [expr -4294967295] {}}}
    %
    
    This one is even more strange because in the
    latter case there is no error because in the
    rules of interpretation of [uplevel] the value
    -4294967295 is just another way to write "1".
    
    The [uplevel] docs state that the $level argument
    is required whenever the first non-level argument
    might begin with a '#' or with a digit.  This suggests
    that any value that begins with a '#' or with a digit
    which fails parsing as a level has to be reported as
    a bad parse, and not fall back to the default handling.
    Somewhat strangely, neither case covers the values "-3"
    or ".2", but it does cover "0.2", so numerically equal
    values can get different treatment.
    
  2. login: "dgp"
  3. mimetype: "text/plain"