Skip to content
Tcl Source Code History Of Ticket 7bcf45d4cde3e639
Login

History Of Ticket 7bcf45d4cde3e639

Artifacts Associated With Ticket 7bcf45d4cde3e639

  1. Ticket change [8f4349fb9c] (rid 149185) by anonymous on 2016-10-12 02:06:27:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/html"
    4. comment initialized to:
      This example never prints "after forever":
      
      <pre>
      oo::class create A {
          variable forever
      
          method stop {} {
              puts stopping..........
              set forever 1
              
          }
          
          method start {} {        
              vwait forever
              puts "after forever..."
          }
      }
      
      set a [A new]
      after 1000 $a stop
      $a start
      
      
      </pre>
      
    5. foundin initialized to: "8.6.6"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "1c4b6cdb98c9dfc4d1e74018f3f4efa00ad217e2"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "35. TclOO Package"
    15. title initialized to: "vwait inside TclOO method"
    16. type initialized to: "Bug"
  2. Ticket change [15aa6a934f] (rid 149186) by dkf on 2016-10-12 09:54:02:

    1. closedate changed to: "2457673.91253314"
    2. closer changed to: "dkf"
    3. comment changed to:
      This example never prints "after forever":
      
      <pre>
      oo::class create A {
          variable forever
      
          method stop {} {
              puts stopping..........
              set forever 1
              
          }
          
          method start {} {        
              vwait forever
              puts "after forever..."
          }
      }
      
      set a [A new]
      after 1000 $a stop
      $a start
      </pre>
      
    4. icomment:
      The <tt>vwait</tt> command has <i>always</i> been documented to work with variables resolved from the global namespace. TclOO does not change that. Using this instead should work:
      <pre>
      vwait [my varname forever]
      </pre>
      
    5. login: "dkf"
    6. mimetype: "text/x-fossil-wiki"
    7. resolution changed to: "Invalid"
    8. status changed to: "Closed"
    9. username: "dkf"
  3. Ticket change [44814a0c31] (rid 149187) by dkf on 2016-10-12 09:54:26:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2457673.91281073"
    3. login: "dkf"
    4. mimetype: "text/plain"