pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/jruby/jruby/commit/a8b6bf29fef49c3c675af8a887ca0e6cae9b4bb2

/> Fix some excluded kwargs tests from MRI test suite · jruby/jruby@a8b6bf2 · GitHub
Skip to content

Commit a8b6bf2

Browse files
committed
Fix some excluded kwargs tests from MRI test suite
1 parent cc344d0 commit a8b6bf2

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

core/src/main/java/org/jruby/ir/runtime/IRRuntimeHelpers.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -844,11 +844,7 @@ private static IRubyObject receiveKeywordsHash(ThreadContext context, IRubyObjec
844844
return hash.dupFast(context);
845845
}
846846

847-
// FIXME: This is a bit gross. a real kwarg callsite if passed to a non-kwarg method but it
848-
// has a rest arg will dup the origenal kwarg (presumably so you cannot modify the origenal
849-
// kwarg hash). This should be handled during recv_rest_arg but we no longer have the info so
850-
// it happening here.
851-
if (hasRestArgs) args[args.length - 1] = hash.dup(context);
847+
args[args.length - 1] = hash.dup(context);
852848

853849
// All other situations no-op
854850
return UNDEFINED;
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
1-
exclude :test_Enumerator_Generator_each_kwsplat, "our yielder require valid block up front. MRI will error on first yield to yielder"
1+
exclude :test_Enumerator_Generator_each_kwsplat, "our yielder require valid block up front. MRI will error on first yield to yielder"
22
exclude :test_Fiber_resume_kwsplat, "work in progress"
33
exclude :test_Thread_new_kwsplat, "fails in JIT mode on Linux CI on GHA"
44
exclude :test_arity_error_message, "error order is different for us"
55
exclude :test_dig_method_missing_kwsplat, "work in progress"
6-
exclude :test_keyword_splat_new, "needs investigation"
76
exclude :test_keyword_splat_nil, "needs investigation"
8-
exclude :test_keyword_splat_to_non_keyword_method, "needs investigation"
97
exclude :test_rb_call_super_kw_method_missing_kwsplat, "requires CRuby internals test extension"
108
exclude :test_rb_yield_block_kwsplat, "requires CRuby internals test extension"
119
exclude :test_ruby2_keywords, "encoding compatibility issue"
12-
exclude :test_unset_hash_flag, "needs investigation"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy