Skip to content
Tcl Source Code History Of Ticket 1583266fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1583266fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1583266fffffffffffffffffffffffffffffffff

  1. Ticket change [5921386c4e] (rid 117924) by msofer on 2006-10-24 00:35:05:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The new details in apply invocation hit a quoting bug
      in Tcl_WrongNumArgs: see the test failures 
      
      ==== apply-4.1 error in arguments to lambda expression
      FAILED
      ==== Contents of test case:
      
          set lambda [list x {set x 1}]
          set res [catch {apply $lambda} msg]
          list $res $msg
      
      ---- Result was:
      1 {wrong # args: should be "apply {{x {set x 1}}} x"}
      ---- Result should have been (exact matching):
      1 {wrong # args: should be "apply {x {set x 1}} x"}
      ==== apply-4.1 FAILED
      
      
      
      ==== apply-4.2 error in arguments to lambda expression
      FAILED
      ==== Contents of test case:
      
          set lambda [list x {set x 1}]
          set res [catch {apply $lambda x y} msg]
          list $res $msg
      
      ---- Result was:
      1 {wrong # args: should be "apply {{x {set x 1}}} x"}
      ---- Result should have been (exact matching):
      1 {wrong # args: should be "apply {x {set x 1}} x"}
      ==== apply-4.2 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.5a6"
    5. is_private initialized to: "0"
    6. priority initialized to: "8"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "Tcl_WrongNumArgs quotes too much"
    12. type initialized to: "Bug"
  2. Ticket change [a069729d92] (rid 96808) by dkf on 2006-10-24 16:05:32:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Be careful. It's in this area that the Itcl quoting
      strangeness hangs out.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  3. Ticket change [de7c8991b4] (rid 114860) by msofer on 2006-10-24 16:51:50:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Yes - and no. Itcl's strangeness is with the first word in
      the command, this here is the second. Apply has a
      strangeness of its own.
      
      The problem seems to be that an extra level of quoting is
      added when none is needed: the lambda-expr was already in
      list form, no new {...} is necessary around it. 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [8bf7db9644] (rid 127670) by msofer on 2006-10-25 04:33:49:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Looks like a problem in [apply] after all ...
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [a9d122e2dd] (rid 99219) by msofer on 2006-10-25 05:06:03:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      AARGHH ... no bug when AVOID_HACKS_FOR_ITCL is defined. So,
      seem to need to find a hack to avoid the hack.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [91cb0c187f] (rid 120676) by msofer on 2006-10-25 05:31:19:

    1. closedate changed to: "2006-10-24T22:31:19"
    2. closer changed to: "msofer"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"