Artifacts Associated With Ticket d06b029d9d
Ticket change [4f0e1a8d58] (rid 142604) by peterlewerin on 2015-07-27 14:17:17:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- 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> - foundin initialized to: "8.6.4"
- is_private initialized to: "0"
- login: "peterlewerin"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "peterlewerin"
- subsystem initialized to: "35. TclOO Package"
- title initialized to:
documentation: oo::define instead of oo::objdefine in example for next
- type initialized to: "Bug"
Ticket change [9acf1c66d8] (rid 142847) by dkf on 2015-08-18 12:48:12:
- closedate changed to: "2457253.03347792"
- closer changed to: "dkf"
- 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".
- login: "dkf"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [4c2c4f937a] (rid 142851) by dkf on 2015-08-18 12:50:59:
- assignee changed to: "dkf"
- closedate changed to: "2457253.03540903"
- login: "dkf"
- mimetype: "text/plain"