1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
nobu 0948eb62e6 vm.c: respect redefinition of Proc#call
* vm.c (vm_redefinition_check_method_type): hoist out method
  definition type to check redefinition.

* vm.c (rb_vm_check_redefinition_opt_method): should check
  optimized method too.

* vm.c (vm_init_redefined_flag): check Proc#call.

* vm_insnhelper.c (vm_call_opt_block_call): search proper method
  if redefined.  [Bug #14335]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-01-08 09:04:07 +00:00
..
enc fix unicode data directory 2017-12-23 00:30:33 +00:00
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb test/ruby/bug-13526.rb: should wait until all threads are stopped 2017-11-21 00:56:09 +00:00
lbtest.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
marshaltestlib.rb
sentence.rb
test_alias.rb test/ruby: tweaked heredocs 2017-08-29 07:11:52 +00:00
test_argf.rb io.c: encoding of ARGF.inplace_mode 2017-10-10 12:30:42 +00:00
test_arity.rb
test_array.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_assignment.rb
test_autoload.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_backtrace.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_basicinstructions.rb
test_beginendblock.rb test/ruby: tweaked heredocs 2017-08-29 07:11:52 +00:00
test_bignum.rb Handle exception explicitly in TestBignum#test_interrupt_during_to_s 2017-12-12 19:48:32 +00:00
test_call.rb test_call.rb: refine test_safe_call 2017-10-02 11:43:36 +00:00
test_case.rb
test_class.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb freeze Complex and Rational 2017-10-19 10:58:08 +00:00
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
test_defined.rb parse.y: primary should not be 0 2017-08-22 13:21:18 +00:00
test_dir.rb Revert "Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]" 2017-10-27 08:40:40 +00:00
test_dir_m17n.rb
test_econv.rb
test_encoding.rb test/ruby: tweaked heredocs 2017-08-29 07:11:52 +00:00
test_enum.rb Add case equality arity to Enumerable#all?, any?, none? and one?, 2017-12-10 22:36:28 +00:00
test_enumerator.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_env.rb test/ruby/test_env.rb: suppress a warning 2017-12-13 10:43:21 +00:00
test_eval.rb parse.y: warning for locations 2017-12-26 10:10:41 +00:00
test_exception.rb eval_error.c: reset in each line 2018-01-07 05:38:37 +00:00
test_fiber.rb Fix test-all tests to avoid creating report_on_exception warnings 2017-12-12 18:44:49 +00:00
test_file.rb $SAFE as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
test_file_exhaustive.rb test_file_exhaustive.rb: get rid of failures 2017-12-08 07:35:07 +00:00
test_fixnum.rb
test_flip.rb
test_float.rb
test_fnmatch.rb Revert "Dir.glob with FNM_EXTGLOB is optimized [Feature #13873]" 2017-10-27 08:40:40 +00:00
test_gc.rb Revert "Revert "Manage AST NODEs out of GC"" 2017-10-27 16:44:57 +00:00
test_hash.rb hash literal deduplicates like Hash#[]= 2017-12-30 00:00:23 +00:00
test_ifunless.rb
test_integer.rb numeric.c: use NUM2DBL 2017-09-22 03:05:02 +00:00
test_integer_comb.rb Integer#allbits?, Integer#anybits?, Integer#nobits? [Feature #12753] 2017-12-12 09:12:14 +00:00
test_io.rb test/ruby/test_io.rb: relax RLIMIT_NPROC for invocation of ruby 2018-01-04 12:56:49 +00:00
test_io_m17n.rb io.c: read BOM only for reading 2017-11-23 07:10:56 +00:00
test_iseq.rb Set first line numbers for empty iseqs. 2017-12-25 00:27:17 +00:00
test_iterator.rb
test_keyword.rb compile.c: kw splat after splat 2017-11-02 07:52:49 +00:00
test_lambda.rb
test_lazy_enumerator.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_literal.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb marshal.c: allow marshalling keyword_init struct 2018-01-05 11:44:31 +00:00
test_math.rb
test_metaclass.rb
test_method.rb Unneeded assertion 2017-12-12 12:12:39 +00:00
test_mixed_unicode_escapes.rb
test_module.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_not.rb
test_notimp.rb
test_numeric.rb numeric.c: Fix Integer#pow with a large Fixnum modulo 2017-12-30 14:50:15 +00:00
test_object.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_objectspace.rb
test_optimization.rb Extend timeout of test_clear_unreachable_keyword_args 2018-01-05 20:38:02 +00:00
test_pack.rb long long is a C99ism 2018-01-02 06:41:47 +00:00
test_parse.rb parse.y: code end position 2018-01-02 03:00:13 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb vm.c: respect redefinition of Proc#call 2018-01-08 09:04:07 +00:00
test_process.rb test_process.rb: skip not-found groups 2018-01-06 09:01:02 +00:00
test_rand.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_range.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_rational.rb freeze Complex and Rational 2017-10-19 10:58:08 +00:00
test_rational2.rb
test_readpartial.rb
test_refinement.rb vm_method.c: fix super in refined module 2017-12-26 10:32:58 +00:00
test_regexp.rb Revert r61192 and r61193 2017-12-12 23:41:34 +00:00
test_require.rb $SAFE as a process global state. [Feature #14250] 2017-12-28 20:09:24 +00:00
test_rubyoptions.rb ruby.c: script __dir__ encoding 2017-12-16 13:25:11 +00:00
test_rubyvm.rb
test_settracefunc.rb revert line number spec of *return events. 2017-12-23 11:00:48 +00:00
test_signal.rb
test_sleep.rb
test_sprintf.rb error.c: KeyError#receiver and KeyError#key 2017-09-18 08:05:53 +00:00
test_sprintf_comb.rb
test_string.rb string.c: chomp rs at the end 2017-12-29 12:19:03 +00:00
test_stringchar.rb
test_struct.rb struct.c: show keyword_init: true on inspect 2017-12-12 15:03:45 +00:00
test_super.rb check array for zsuper. [Bug #14279] 2018-01-05 02:25:26 +00:00
test_symbol.rb
test_syntax.rb parse.y: nd_line of new_qcall 2018-01-07 09:36:48 +00:00
test_system.rb
test_thread.rb increase test timeout. 2017-12-30 23:06:39 +00:00
test_threadgroup.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
test_time.rb Time#at receives 3rd argument which specifies the unit of 2nd argument [Feature #13919] 2017-09-25 06:20:10 +00:00
test_time_tz.rb
test_trace.rb
test_transcode.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_undef.rb
test_unicode_escape.rb
test_variable.rb Add FrozenError as a subclass of RuntimeError 2017-12-12 00:46:34 +00:00
test_vm_dump.rb test_vm_dump.rb: skip if gcc 2017-12-16 00:36:31 +00:00
test_weakmap.rb skip tests temporarily 2017-10-27 18:55:28 +00:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb