mruby/mruby — pull request #899 by masamitsu-murase (2013-02-26 18:52:46+00:00)
Title: Modify stack position of NODE_DEF and NODE_SDEF.

Here is the error case.
```ruby
def test(a)
b = 2
b = if (a == 1)
def test2
return 1
end
1
else
def test2
return 2
end
end
b
end

p test(1)
# 2 (not 1)
```

This sample may be too artificial, but I think that this patch improves mruby's behavior.