Skip to content
Tcl Source Code Artifact [85232f279e]
Login

Artifact [85232f279e]

Artifact 85232f279ee653a44caf88c8084c008d72c57c78b5adc802c618da3649ec3a7c:

Ticket change [85232f279e] - Pending ticket [723a2f4ac32c306a|723a2f4ac3]: <i>return -code break/tailcall break from coroutine goes wrong at the top-level</i> plus 5 other changes by sebres on 2018-08-03 16:18:19.
D 2018-08-03T16:18:19.061
J icomment Fixed\snow\sin\sbranch\s[https://core.tcl-lang.org/tcl/timeline?r=sebres-bug-723a2f4ac3|sebres-bug-723a2f4ac3].\r\n\r\nAdditionally\sthis\sfixes\sSEGFAULTS\sby\sdirect\sreturn/break\sout\sof\scoroutine\safter\syield\sback\sinto\scoroutine\s(I've\sincreased\spriority\sof\sticket\sto\sHigh).<br/>\r\nWithout\sthis\sfix\s(with\sunpatched\soriginal\s8.6)\sthe\snew\stest-cases\sof\sthis\sbranch\ssegfaulting\swithin\scoroutine.test.<br/>\r\nSo\sfixed\shere\sby\sprovide\sof\sTCL_EVAL_NOERR\sto\sTcl_NREvalObj\sinside\sTclNRCoroutineObjCmd,\sbecause\sreturn\swith\scode\sout\sof\scoro\s(after\syield\sinto\scoro)\sdoes\snot\sallow\snormally\sany\smodification\son\scall-stack\sinfo\sin\sthe\stop-level\sat\sall.
J login sebres
J mimetype text/x-fossil-wiki
J priority 8
J resolution Fixed
J status Pending
K 723a2f4ac32c306a16919568acaf0b78304dea7d
U sebres
Z 17f0395b2efb818a14cc170d18b2f789