Skip to content
Tcl Source Code History Of Ticket 2015360
Login

History Of Ticket 2015360

Artifacts Associated With Ticket 2015360

  1. Ticket change [010c1d3383] (rid 119415) by dgp on 2008-07-10 20:34:07:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      line 2166 of Revision 1.145 of
      tclCompCmds.c is a call to
      Tcl_ResetResult().  Commenting
      is out leads to no test suite
      failures.
      
      Same for line 1160 of Revision
      1.149 of tclCompile.c.
      
      Either that means these calls
      are unnecessary and ought to be
      removed, or else the need for them
      is untested by the test suite.
      
    4. foundin initialized to: "obsolete: 8.6a1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "untested Tcl_ResetResult() calls"
    12. type initialized to: "Bug"
  2. Ticket change [56046844ce] (rid 94250) by msofer on 2008-07-11 06:10:56:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      They do seem unnecessary:
       * Scripts are only compiled on demand, and the demand only arises in the scope of a command invocation 
       * Tcl guarantees a clean result state on command invocation
       * the state can only be unclean if any library function that writes the interp's result has been called after the command invocation
      
      So the question is: does any of the function compilers call such a function? 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"