.
D 2017-06-05T03:09:20.572
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment In\sa\scoroutine,\swhen\sthere's\sa\s[yieldto]\sinside\sa\s[catch]\sscript,\sand\sthe\sthing\r\nyielded\sto\sproduces\san\serror,\sthat\serror\sisn't\spropagated\sback\sto\sthe\sfirst\r\ncoroutine:\r\n\r\n<code><verbatim>\r\ncoroutine\sc2\s::apply\s{{}\s{\r\n\s\s\s\syield\r\n\s\s\s\serror\s"this\sisn't\scaught"\r\n}}\r\n\r\ncoroutine\sc1\s::apply\s{{}\s{\r\n\s\s\s\scatch\s{yieldto\sc2}\r\n\s\s\s\s#\sControl\snever\sgets\sto\sthis\spoint.\r\n\s\s\s\sputs\shello\r\n}}\r\n</verbatim></code>
J foundin 8.7
J is_private 0
J login pooryorick
J priority 5\sMedium
J private_contact e476148cded301ffff84bcdc432536dc0c949e88
J resolution None
J severity Minor
J status Open
J submitter pooryorick
J subsystem 16.\sCommands\sA-H
J title catch\sand\syieldto
J type Bug
K bfe0f34e6ca558c525d3d649f93970e2267b5ff1
U pooryorick
Z 665c7ffcdd2690ae049458db9bc2b3f6