test/something.rb in ParseTree-1.3.2 vs test/something.rb in ParseTree-1.3.3
- old
+ new
@@ -162,9 +162,24 @@
def attrasgn
42.method = y
self.type = other.type
end
+ # TODO: sort list
+ def bbegin
+ begin
+ 1
+ rescue SyntaxError => e1
+ 2
+ rescue Exception => e2
+ 3
+ else
+ 4
+ ensure
+ 5
+ end
+ end
+
def self.bmethod_maker
define_method(:bmethod_added) do |x|
x + 1
end
end