dbremner / rubydotnetcompiler

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

Inline rescue #68

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Test:

  v = x rescue 1
  puts v

Expected: 1
Actual: NameError ("undefined local variable or method `x' for Object")

Adapted from rspec/language/raise_spec "on a single line, a default can be 
assigned on exception".

Original issue reported on code.google.com by sason...@gmail.com on 8 Nov 2007 at 5:54

GoogleCodeExporter commented 8 years ago

Original comment by meaningi...@gmail.com on 10 Dec 2007 at 3:42