Skip to content
Tcl Source Code History Of Ticket 1a25fdfec6
Login

History Of Ticket 1a25fdfec6

Artifacts Associated With Ticket 1a25fdfec6

  1. Ticket change [15a3530d9a] (rid 145475) by dgp on 2016-03-11 14:25:13:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      In tclCompCmdsGR.c the routine IndexTailVarIfKnown()
      misuses TclWordKnownAtCompileTime().
      
      The overall routine is examining the word 
      parsed in varTokenPtr, and wants to report whether
      the tail portion of that word can be determined
      so the local varname can be known, and bytecode
      can be generated for commands like [global] and [variable].
      
      In particular it appears to want to support bytecoding
      of things like
      
          variable [find-namesapce]::foo
      
      where the whole value of the argument is not known
      until runtime, but we know the tail portion now, so
      we know the local name argument to INST_NSUPVAR.
      
      The problem is the routine TclWordKnownAtCompileTime()
      is called to ask whether the final portion of the
      argument word (the 'last token') is known.  This use
      misses the fact that TWKACT is explicitly the routine
      Tcl***WORD***KnownAtCompileTime() and will only return
      true for an entire word, not for tail portions of a word.
      This call always returns false as written.  All the code
      written to handle a true return is unused and worthless.
      
      The idea here seems worthwhile, so the fix may be to just
      put the needed testing here directly, replacing the misused
      TWKACT call.
      
    5. foundin initialized to: "all"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Minor"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "47. Bytecode Compiler"
    14. title initialized to: "IndexTailVarIfKnown makes pointless call"
    15. type initialized to: "Bug"
  2. Ticket change [6736a4a435] (rid 145476) by dgp on 2016-03-11 14:30:28:

    1. assignee changed to: "msofer"
    2. icomment:
      
      This error appears to have been in the original code.
      
      http://core.tcl.tk/tcl/info/8fe01ff44102e6ba
      
    3. login: "dgp"
    4. mimetype: "text/plain"
  3. Ticket change [14552c23f4] (rid 145486) by dgp on 2016-03-11 15:42:31:

    1. icomment:
      
      Candidate for merge to 8.6, etc.:
      
      http://core.tcl.tk/tcl/info/2334f398b81654e9
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [4452a764d2] (rid 145698) by dgp on 2016-03-17 12:24:38:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2457465.01711292"
    3. closer changed to: "dgp"
    4. icomment:
      
      Fixed for 8.6.6+.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"