Skip to content
Tcl Source Code Artifact [001c241ed8]
Login

Artifact [001c241ed8]

Artifact 001c241ed8a005e02a05df85eb5cb197a738fd9a:

Ticket change [001c241ed8] - Ticket [bfe0f34e6ca558c5|bfe0f34e6c] <i>catch and yieldto</i> status still Open with 3 other changes by ferrieux on 2017-06-05 09:09:54.
D 2017-06-05T09:09:54.857
J icomment Argh\sindeed.\r\n\r\nI\swondered\swhether\sthe\spropagation\swas\saffected\sby\sth\senumber\sof\s[yieldto]\shops,\sso\sI\stried\sthe\sfollowing.\sSame\sresult.\sBut\ssee\swhat\shappens\son\sresumption\sof\sthe\stoplevel\scoro:\r\n\r\n%\scoroutine\scoro3\sapply\s{{}\s{\syield;error\sCORO3}}\r\n%\scoroutine\scoro2\sapply\s{{}\s{\syield;yieldto\scoro3}}\r\n%\scoroutine\scoro1\sapply\s{{}\s{\scatch\s{yieldto\scoro2}\se;puts\s"CORO1-CAUGHT:$e\\nCORO1-ERRORSTACK:[info\serrorstack]"}}\r\nCORO3\r\n%\sputs\s[info\serrorstack]\r\nINNER\s{returnImm\sCORO3\s{}}\sCALL\s{apply\s{{}\s{\syield;error\sCORO3}}}\r\n\r\n#\sat\sthis\spoint\swe've\sjust\sreproduced\sthe\sbug\swith\sa\schain\sof\s2\syieldtos\r\n\r\n%\scoro1\r\nCORO1-CAUGHT:\r\nCORO1-ERRORSTACK:INNER\s{returnImm\sCORO3\s{}}\sCALL\s{apply\s{{}\s{\syield;error\sCORO3}}}\r\n\r\n#\sresuming\sthe\stoplevel\s"coro\sfloor"\sseems\sto\srestore\sthe\serror\scontext
J login ferrieux
J mimetype text/plain
K bfe0f34e6ca558c525d3d649f93970e2267b5ff1
U ferrieux
Z 3e4dc134da9f32bd74792ab8c8b9f5fa