|
2014-01-22
| ||
| 09:11 | • Closed ticket [a90d9331bc]: panic in yieldto reachable from script plus 5 ... artifact: 0fbec6cd37 user: dkf | |
| 09:11 | add compilation for [nextto] and [yieldto]; fix [a90d9331bc] check-in: b64f6cd9a9 user: dkf tags: trunk | |
| 09:09 | • Ticket [a90d9331bc] panic in yieldto reachable from script status still Op... artifact: ccff45c0bb user: dkf | |
| 09:07 | [a90d9331bc]: must not crash when yieldto called in vanishing namespace check-in: b37441105a user: dkf tags: dkf-bytecode-8.6-main | |
|
2014-01-21
| ||
| 15:24 | • Ticket [a90d9331bc] panic in yieldto reachable from script status still Op... artifact: 59e579d721 user: dkf | |
| 15:22 | • New ticket [a90d9331bc]. artifact: fca2e26f07 user: dkf | |
panic in [yieldto] reachable from script
Closed / Fixeda90d9331bc4b9f88384d65337e36f399ea01f597Created 13 years agoUpdated 13 years ago
Descriptionhtml2014-01-21 15:22:50
This code:
namespace eval foo {
proc bar {} {
puts a
yield OUT
puts b
yieldto ::return -level 0 123
puts c
}
}
puts [coroutine co foo::bar]
namespace delete foo
namespace eval foo {}
puts [co]
co
Should print this:
a OUT b 123 cBut instead I get this:
a OUT b yieldto failed to find the proper namespace Abort trap: 6The bytecoded version on the dkf-bytecode-8.6 branch works.
Referenced by2
b64f6cd9a9add compilation for [nextto] and [yieldto]; fix [a90d9331bc] check-in2014-01-22 09:11:07b37441105a[a90d9331bc]: must not crash when yieldto called in vanishing namespace check-in2014-01-22 09:07:45
dkf Ticket [a90d9331bc]: 4 changes
[History diff]2014-01-21 15:24:32
dkfhtml2014-01-22 09:09:03
Fixed on branch (successor to above-mentioned commit).
dkf Closed ticket [a90d9331bc].
[History diff]2014-01-22 09:11:29
Log in (anonymous is fine) to add a comment.