Overview
| Artifact ID: | b932d027eba4851f54a94be44c964bb40f8a1859 |
|---|---|
| Ticket: | 0f42ff78717afacc72710ec0c79aa71a48abb5f3
[tailcall] punches through [next] |
| User & Date: | anonymous on 2015-04-08 14:29:47 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
This might smell a bit similar to [d87cb1820]? Replacing the [next] calls with [set next next; $next] removes the error. dgp identified [4492d3b64521] as the checkin which identified this behaviour with bytecoded [next]. oo::class create Foo { method five {} { tailcall expr 5 } } oo::class create Unfoo { superclass Foo method five {} { return -[next] } } Unfoo create fu puts "[fu five] should be -5?" # 8.6.2..trunk: 5 should be -5? # 8.6.1: -5 should be -5? For added hilarity: oo::class create Foo { method five {} { tailcall puts 2 } } oo::class create Unfoo { superclass Foo method five {} { puts 1 next puts 3 } } Unfoo create fu fu five # 1 # 3 # 2 - foundin changed to: "8.6.2 and later"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "cb02a4a25e8da92f2790bc307bf01ef24ce6053e"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "60. NRE and coroutines"
- title changed to: "[tailcall] punches through [next]"
- type changed to: "Bug"