From: SASADA Koichi Date: 2007-12-07T14:08:41+09:00 Subject: Re: Clarification of retry change Hi, Charles Oliver Nutter wrote: > Matz confirmed that retry-outside-rescue will no longer work, but I > wanted to make one clarification... Should I remove from retry feature from YARV? > retry must be only within one of the rescue "bodies", correct? It is not > allowed within the ensure body or the main body? > > begin > retry # number 1 > rescue > retry # number 2 > ensure > retry # number 3 > end > > I believe numbers 1 and 3 would qualify as local jump errors, since > they're both outside the rescue body. Correct? I believe so. And more. begin # body rescue 1.times{ retry # (4) } end begin # body rescue 1.times{ eval("retry") # (5) } end What should be done with (4) and (5)? -- // SASADA Koichi at atdot dot net