ruby-changes:26707
From: kazu <ko1@a...>
Date: Thu, 10 Jan 2013 15:49:35 +0900 (JST)
Subject: [ruby-changes:26707] kazu:r38758 (trunk): fix a typo
kazu 2013-01-10 15:49:25 +0900 (Thu, 10 Jan 2013) New Revision: 38758 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=38758 Log: fix a typo Modified files: trunk/ChangeLog Index: ChangeLog =================================================================== --- ChangeLog (revision 38757) +++ ChangeLog (revision 38758) @@ -37,7 +37,7 @@ Thu Jan 10 03:29:55 2013 Koichi Sasada https://github.com/ruby/ruby/blob/trunk/ChangeLog#L37 * 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. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/