1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/bootstraptest
ko1 a5e2f3221a * compile.c (compile_array_): modify wrong optimization.
A script "[print(1)]; print(2)" should output "12".
  However, the compiler had eliminted "[print(1)]" expression
  because it is void expression (unused array).
  Of course, side-effect should be remained.
  This issue is reported by Masaya Tarui.
* bootstraptest/test_literal.rb: add a test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-09 18:38:41 +00:00
..
pending.rb
runner.rb Fix failures on btest for NativeClient. 2013-01-03 15:39:15 +00:00
test_attr.rb
test_autoload.rb
test_block.rb * bootstraptest/test_block.rb: add tests for block with super. 2012-10-10 18:38:01 +00:00
test_class.rb
test_eval.rb method in instance_eval 2012-08-06 15:31:13 +00:00
test_exception.rb * bootstrap/test_exception.rb: fix a last committed test. 2012-08-08 08:11:12 +00:00
test_finalizer.rb
test_flip.rb
test_flow.rb vm.c: rewrite all catch points 2012-11-02 19:14:24 +00:00
test_fork.rb
test_gc.rb
test_io.rb * bootstraptest/test_io.c: add a test for [ruby-dev:46834]. 2013-01-06 09:48:00 +00:00
test_jump.rb
test_literal.rb * compile.c (compile_array_): modify wrong optimization. 2013-01-09 18:38:41 +00:00
test_load.rb
test_marshal.rb
test_massign.rb
test_method.rb * vm_insnhelper.c (vm_caller_setup_args): save and restore 2012-11-13 08:34:43 +00:00
test_objectspace.rb
test_proc.rb * vm.c (rb_vm_make_env_object): make Proc object if Env is possible 2012-11-27 11:58:10 +00:00
test_struct.rb
test_syntax.rb revert r37326 "remove string literal concatenation" 2012-10-25 14:06:31 +00:00
test_thread.rb * bootstraptest/test_thread.rb: get rid of confusing ruby-mode.el 2013-01-01 14:42:52 +00:00