Overview
| Artifact ID: | 06857c01c9caa008366207ab702785c9172e2c17 |
|---|---|
| Ticket: | 2791586fffffffffffffffffffffffffffffffff
[tailcall next] weirdness |
| User & Date: | dkf on 2009-05-14 08:38:42 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
Something very odd is going on when you do [tailcall next]. Of course, it's an inherently odd thing to do anyway, but in that case it ought to error out in a sane way (similar to the way that [uplevel 1 next] is prohibited). This is not an issue for the standalone TclOO package. % oo::class create foo {method bar {} {puts barbar}} ::foo % foo create o ::o % oo::objdefine o method bar {} {puts 1;tailcall next;puts 2} % o bar 1 next may only be called from inside a method % oo::objdefine o method foo {} {puts A;my bar;puts B} % o foo A 1 no next method implementation % set errorInfo no next method implementation while executing "next" invoked from within "my bar" (object "::o" method "foo" line 1) invoked from within "o foo" - foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "35. TclOO Package"
- title changed to: "[tailcall next] weirdness"
- type changed to: "Bug"