Skip to content
Tcl Source Code History Of Ticket d06b029d9d0fc9e6
Login

History Of Ticket d06b029d9d0fc9e6

Artifacts Associated With Ticket d06b029d9d0fc9e6

  1. Ticket change [4f0e1a8d58] (rid 142604) by peterlewerin on 2015-07-27 14:17:17:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/x-fossil-wiki"
    4. comment initialized to:
      In the documentation for <code>next</code>, in the first example <code>oo::define</code> is called to configure the <code>obj</code> object: this should be <code>oo::objdefine</code>. Similarly in the second example, the <code>demo</code> object is configured using <code>oo::define</code> instead of <code>oo::objdefine</code>.
      
      Corrected code:
      
      <verbatim>
      oo::objdefine obj method example args {
          puts "per-object method, args = $args"
          next x {*}$args y
          next
      }
      </verbatim>
      
      and
      
      <verbatim>
      oo::objdefine demo {
          mixin cache
          method compute {a b c} {
              after 3000 ;# Simulate deep thought
              return [expr {$a + $b * $c}]
          }
          method compute2 {a b c} {
              after 3000 ;# Simulate deep thought
              return [expr {$a * $b + $c}]
          }
      }
      </verbatim>
      
    5. foundin initialized to: "8.6.4"
    6. is_private initialized to: "0"
    7. login: "peterlewerin"
    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: "peterlewerin"
    13. subsystem initialized to: "35. TclOO Package"
    14. title initialized to:
      documentation: oo::define instead of oo::objdefine in example for next
      
    15. type initialized to: "Bug"
  2. Ticket change [9acf1c66d8] (rid 142847) by dkf on 2015-08-18 12:48:12:

    1. closedate changed to: "2457253.03347792"
    2. closer changed to: "dkf"
    3. icomment:
      Silly mistake on my part. Might date from when there was no separate oo::objdefine command and oo::define would just magically "do the right thing".
      
    4. login: "dkf"
    5. mimetype: "text/x-fossil-wiki"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
  3. Ticket change [4c2c4f937a] (rid 142851) by dkf on 2015-08-18 12:50:59:

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