: <i>a coroutine calls yieldto to yieldto itself, and loses control</i> plus 6 other changes
by
.
D 2021-06-19T20:50:45.484
J closedate 2459385.36858199
J closer pooryorick
J icomment I\ssee\snow\sthat\sthe\sexample\sscript\sis\sdoing\sthe\sright\sthing.\s\sFirst\sc2\syields,\r\nand\sthe\ssecond\syieldto\sthen\stakes\splace\sin\sthe\scontext\sof\sc1,\scausing\sc1\sto\r\nyield\sback\sto\sc2.\s\sc1\sis\sthen\sno\slonger\son\sthe\sstack,\sso\swhen\sp1\sreturns,\sit's\r\nno\slonger\sreturning\sto\sp0,\swhich\sis\spart\sof\sthce\sc1\scontext.\s\sInstead\sit\r\nreturns\sto\sthe\scaller\sof\sc1,\sas\sexpected.
J login pooryorick
J mimetype text/x-fossil-wiki
J resolution Invalid
J status Closed
K b80ccfcf323bc45619e14388603176d573a61cf0
U pooryorick
Z bc3d8a42a9a461612fbf153575ca7b78