Skip to content
Tcl Source Code History Of Ticket 219192
Login

History Of Ticket 219192

Artifacts Associated With Ticket 219192

  1. Ticket change [857efbdb9e] (rid 131329) by nobody on 2000-10-26 05:03:20:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 2606 Bug
      Version: 8.1
      SubmitDate: '1999-08-31'
      LastModified: '1999-12-03'
      Severity: MED
      Status: Assigned
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Linux
      Machine: Other
      FixedDate: '2000-10-25'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Andreas Otto
      
      Extensions:
      tclx
      
      ReproducibleScript:
      interp create X1
              interp hide X1 set
              interp invokehidden X1 set b(123)
          ==> can't read "b": no such variable
          should be
          ==> can't read "b(123)": no such variable
      
      DesiredBehavior:
      get the right answer
      
      
      
      
      
    4. foundin initialized to: "obsolete: 8.1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "interp command"
    11. type initialized to: "Bug"
  2. Ticket change [f40c7901c0] (rid 129825) by dkf on 2000-11-08 22:57:37:

    1. assignee changed to: "dkf"
    2. foundin changed to: "obsolete: 8.3.2"
    3. icomment:
      Still there in 8.3.2, and probably 8.4a2 too (if the source and my understanding of the problem are anything to go by.  :^)
      
      To fix, change all the places that refer to the variable part2 in the function TclLookupVar() (well, those after line 187 of generic/tclVar.c, which is where the namespace variable resolver stuff starts) to refer to the local variable elName instead.  I make this eight modifications, each time in a call to VarErrMsg().
      
      I believe this problem was introduced with the dropping of the TCL_PARSE_PART1 flag; the ChangeLog should reveal when that happened...
      
      I will apply a fix as and when I've got access to the sources sorted out.  To remind myself, I've assigned the bug to me...
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. priority changed to: "4"
    7. username: "dkf"
  3. Ticket change [1b47c26fec] (rid 123121) by dkf on 2000-11-15 21:09:20:

    1. closedate changed to: "2000-11-15T14:09:20"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  4. Ticket change [21d70c9806] (rid 130652) by dgp on 2000-11-16 00:24:35:

    1. icomment:
      
      The change causes a whole slew of test suite errors
      starting with
      
      ==== append-3.2 append errors FAILED
      ==== Contents of test case:
      
          set x ""
          list [catch {append x(0) 44} msg] $msg
      
      ---- Result was:
      1 {can't set "x(0)(0))": variable isn't array}
      ---- Result should have been (exact matching):
      1 {can't set "x(0)": variable isn't array}
      ==== append-3.2 FAILED
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [508707846d] (rid 125990) by hobbs on 2000-11-16 05:13:32:

    1. assignee changed to: "nobody"
    2. icomment:
      The dkf fix broke numerous other tests and has been reverted.  This bug is still open.
      
      
    3. login: "hobbs"
    4. mimetype: "text/plain"
    5. resolution changed to: "None"
    6. status changed to: "Open"
    7. username: "hobbs"
  6. Ticket change [01ac57c7dd] (rid 119521) by dkf on 2000-11-17 16:37:08:

    1. icomment:
      The bug can be reproduced using the following simpler code:
          [format set] nonexistent(variable)
      
      Am investigating why this should induce problems in the rest of Tcl.  Something's rotten in the state of Denmark...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  7. Ticket change [f8ed7e9db5] (rid 91620) by dkf on 2000-11-17 20:37:55:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2000-11-17T13:37:55"
    3. closer changed to: "dkf"
    4. icomment:
      Right, I'm closing this again now since not only is there a test that detects the problem, the fix now applied does the right thing (the code is a bit cleaner too) and passes all the tests.  Interestingly, there was actually a test that was mandating the old, wrong behaviour, so the patch required a change to that test too.
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"