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
Jeremy Evans 775365cbd2 Fix keyword argument separation issues with sym procs when using refinements
Make sure that vm_yield_with_cfunc can correctly set the empty keyword
flag by passing 2 as the kw_splat value when calling it in
vm_invoke_ifunc_block.  Make sure calling.kw_splat is set to 1 and not
128 in vm_sendish, so we can safely check for different kw_splat values.

vm_args.c needs to call add_empty_keyword, and to make JIT happy, the
function needs to be exported.  Rename the function to
rb_adjust_argv_kw_splat to more accurately reflect what it does, and
mark it as MJIT exported.
2019-09-17 16:22:44 -07:00
..
enc
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb compile.c (compile_list): emit newarraykwsplat only at the last chunk 2019-09-07 16:05:15 +09:00
test_assignment.rb
test_ast.rb Rename NODE_ARRAY to NODE_LIST to reflect its actual use cases 2019-09-07 13:56:29 +09:00
test_autoload.rb
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb Show the previous definition location, 2019-08-29 13:24:00 +09:00
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb Remove support for nil::Constant 2019-08-14 09:50:14 -07:00
test_continuation.rb
test_default_gems.rb
test_defined.rb
test_dir.rb Make test-all and test-spec runnable on Android 2019-09-09 20:24:03 +09:00
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb
test_enumerator.rb Document and test Enumerator.produce 2019-09-12 20:18:53 +09:00
test_env.rb
test_eval.rb
test_exception.rb Do not clear backtrace in Exception#exception 2019-09-02 16:47:12 +09:00
test_fiber.rb Try shrinking tested VM stack max 2019-09-06 10:34:33 +09:00
test_file.rb Add tests for File.absolute_path? 2019-09-05 20:04:50 +09:00
test_file_exhaustive.rb Make test-all and test-spec runnable on Android 2019-09-09 20:24:03 +09:00
test_fixnum.rb
test_flip.rb Revert "Remove warnings of flip-flop deprecation from tests and specs" 2019-08-29 11:10:45 +09:00
test_float.rb
test_fnmatch.rb
test_gc.rb
test_gc_compact.rb
test_hash.rb
test_ifunless.rb
test_integer.rb
test_integer_comb.rb
test_io.rb Examine TestIO#test_select_exceptfds on Solaris with 1 byte data 2019-09-03 16:51:01 +09:00
test_io_m17n.rb
test_iseq.rb
test_iterator.rb
test_jit.rb Check frozen flag on MJIT setinstancevariable 2019-09-04 11:10:21 +09:00
test_key_error.rb
test_keyword.rb Fix keyword argument separation issues with sym procs when using refinements 2019-09-17 16:22:44 -07:00
test_lambda.rb
test_lazy_enumerator.rb Implement Enumerator::Lazy#eager [Feature #15901] 2019-09-04 16:16:46 +09:00
test_literal.rb
test_m17n.rb
test_m17n_comb.rb
test_marshal.rb
test_math.rb
test_metaclass.rb
test_method.rb Make Method/Proc#parameters handle **nil syntax 2019-08-30 12:39:31 -07:00
test_mixed_unicode_escapes.rb
test_module.rb Show the previous definition location, 2019-08-29 13:24:00 +09:00
test_not.rb
test_notimp.rb
test_numeric.rb Inspect dynamic symbol as well as static symbol 2019-08-25 11:39:20 +09:00
test_object.rb
test_objectspace.rb
test_optimization.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_pack.rb
test_parse.rb
test_path.rb
test_pattern_matching.rb Make pattern matching support **nil syntax 2019-09-01 16:39:34 +09:00
test_pipe.rb
test_primitive.rb
test_proc.rb
test_process.rb Make test-all and test-spec runnable on Android 2019-09-09 20:24:03 +09:00
test_rand.rb
test_range.rb Aseert exception at negative step for non-endless range too 2019-08-29 11:16:17 +09:00
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb Search refinement module along nested usings 2019-08-17 12:30:38 +09:00
test_regexp.rb
test_require.rb Use the original require for test_race_exception 2019-08-17 15:12:46 +09:00
test_rubyoptions.rb
test_rubyvm.rb
test_rubyvm_mjit.rb
test_settracefunc.rb
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb Fixed heap-use-after-free 2019-08-15 23:39:14 +09:00
test_stringchar.rb
test_struct.rb Do not turn on keyword_init for Struct subclass if keyword hash is empty 2019-09-03 14:02:24 -07:00
test_super.rb
test_symbol.rb
test_syntax.rb Comment lines can be placed between fluent dot now 2019-09-15 23:12:24 +09:00
test_system.rb
test_thread.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_thread_cv.rb
test_thread_queue.rb Fix keyword argument separation warnings in test 2019-08-30 12:39:31 -07:00
test_threadgroup.rb
test_time.rb
test_time_tz.rb Enable more Time TZ tests on OpenBSD 2019-08-20 21:26:12 -07:00
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb Allow non-finalizable objects in ObjectSpace::WeakMap 2019-08-29 20:40:52 +09:00
test_whileuntil.rb
test_yield.rb
ut_eof.rb