summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2017-04-10 08:21:03 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2017-04-10 08:25:44 +0900
commitc063641ab0c32ab19715342a4856ed040a1fde14 (patch)
tree4473a7a95eddc90137185b50fd0d8c5911d20347 /src/variable.c
parent47f181519f009e91aac06b0f8a6f529f6dfcf579 (diff)
downloadmruby-c063641ab0c32ab19715342a4856ed040a1fde14.tar.gz
mruby-c063641ab0c32ab19715342a4856ed040a1fde14.zip
Clear local (but non-argument) variables in OP_ENTER.
Otherwise, the following script prints an uninitialized value. def f(*a) if false b = 15 end p b end f(1,2,3)
Diffstat (limited to 'src/variable.c')
0 files changed, 0 insertions, 0 deletions