<i>Repeat catch six times and get core dump</i> status still Open with 4 other changes
by
.
D 2016-05-07T19:59:16.781
J icomment Looking\sat\sthis\scode\s(rewritten\sto\sbe\sa\sbit\sclearer\sabout\sbasic\sblocks):\r\n<pre>\r\n\s\s\s\s\s\s\s\sbeginCatch\s@badLabel\r\n\s\s\s\s\s\s\s\spush\serror\r\n\s\s\s\s\s\s\s\spush\stesting\r\n\s\s\s\s\s\s\s\sinvokeStk\s2\r\n\s\s\s\s\s\s\s\spop\r\n\s\s\s\s\s\s\s\spush\s0\r\n\s\s\s\s\s\s\s\sjump\s@okLabel\r\n\r\n\s\s\s\s\s\s\s\slabel\s@badLabel\r\n\s\s\s\s\s\s\s\spush\s1;\s#\sshould\sbe\spushReturnCode\r\n\s\s\s\s\s\s\s\sjump\s@okLabel\r\n\r\n\s\s\s\s\s\s\s\slabel\s@okLabel\r\n\s\s\s\s\s\s\s\sendCatch\r\n\s\s\s\s\s\s\s\spop\r\n</pre>\r\nIs\sit\sjust\sme\sor\sdoes\sthe\scode\sget\sto\sthe\s<tt>endCatch</tt>\swith\sthe\sexception\sstack\sin\san\sinconsistent\sstate?\s(The\sanalyser\sdoesn't\sknow\sthat\s<tt>error\stesting</tt>\swill\salways\sthrow.)\sIf\sthe\s<tt>invokeStk</tt>\sdoesn't\sthrow,\sthe\sjump\sto\s<tt>@okLabel</tt>\swill\sbe\sdone\swith\sexception\sstack\shaving\sdepth\s1.\sIf\sthe\s<tt>invokeStk</tt>\s<i>does</i>\sthrow,\sthe\simplicit\sjump\sto\s<tt>@okLabel</tt>\swill\sbe\seffectively\sdone\swith\sexception\sstack\shaving\sdepth\s0.\sHence\sthe\scrunch.\sThis\scode\sought\sto\srefuse\sto\scompile.\r\n<p>\r\nAssuming\sI'm\sanalysing\sthis\sall\sright.
J login dkf
J mimetype text/html
J username dkf
K 3154ea27591de16257a7b8b8d361514b004e527f
U dkf
Z 6200dfee2d6728799ab3d6c099cb692a