fixed wrong stack adjustment for ensure clauses; fix #3175

This commit is contained in:
Yukihiro "Matz" Matsumoto
2016-11-07 00:44:08 +09:00
parent 0b8d8dd379
commit 6c299aae67
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -338,10 +338,13 @@ assert('Exception 19') do
begin
1 * "b"
ensure
@e = self.z
@e = self.zz
end
end
def zz
true
end
def z
true
end