diff options
| author | Kouhei Sutou <[email protected]> | 2015-02-24 00:16:41 +0900 |
|---|---|---|
| committer | Kouhei Sutou <[email protected]> | 2015-02-24 00:16:41 +0900 |
| commit | 584d6de3c29cb2cfef79ff17ac12f17ace000391 (patch) | |
| tree | d8397db42679b69c22f707d9dca0e611c422d227 /src/array.c | |
| parent | 44d8a40bac9b900b754bc78167939a74d5efd2d0 (diff) | |
| download | mruby-584d6de3c29cb2cfef79ff17ac12f17ace000391.tar.gz mruby-584d6de3c29cb2cfef79ff17ac12f17ace000391.zip | |
Fix a bug that if and no return value case can't return true clause value
Here is a script that reproduce this problem:
x = if true
1
else
case 2
when 3
end
4
end
p x # => nil # 1 is expected
Diffstat (limited to 'src/array.c')
0 files changed, 0 insertions, 0 deletions
