berkesokhan / rubydotnetcompiler

Automatically exported from code.google.com/p/rubydotnetcompiler
1 stars 0 forks source link

return inside ensure #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
def f; begin; ensure; return nil; end; end; f

Ruby.NET generates invalid code for return inside ensure. The generated
code fails with InvalidProgramException on both .NET and Mono.

Original issue reported on code.google.com by sanxiyn on 22 Aug 2007 at 5:39

GoogleCodeExporter commented 9 years ago

Original comment by DrWayneK...@gmail.com on 30 Aug 2007 at 6:00