Actions
Bug #15087
closedSegmentation fault with splat and block
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
2.5.0, 2.5.1, 2.6.0dev (2018-09-07 trunk 64656)
Description
The following code produces segmentation faults in Ruby 2.5.0, 2.5.1, and 2.6.0dev (2018-09-07 trunk 64656). This code worked in Ruby 2.4.1.
test_proc = Proc.new { "test" }
def foo(bar: 1, &block)
yield
end
foo(**{}, &test_proc)
I've attached the crash reports for both Ruby 2.6.0dev (2018-09-07 trunk 64656) and 2.5.1. Let me know if there's anything else I can provide.
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0Like0