fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2cdd17b458
commit
72f9805109
@ -37,7 +37,7 @@ Thu Jan 10 03:29:55 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* compile.c (compile_array_): modify wrong optimization.
|
||||
A script "[print(1)]; print(2)" should output "12".
|
||||
However, the compiler had eliminted "[print(1)]" expression
|
||||
However, the compiler had eliminated "[print(1)]" expression
|
||||
because it is void expression (unused array).
|
||||
Of course, side-effect should be remained.
|
||||
This issue is reported by Masaya Tarui.
|
||||
|
Loading…
x
Reference in New Issue
Block a user