Skip to content

ZJIT: make test-spec: "A method raises ArgumentError if passing hash as keyword arguments" #937

@XrXr

Description

@XrXr

When running with ZJIT enabled and --repeat 2, the following spec fails on the second iteration after JIT compilation:

https://github.com/Shopify/ruby/blob/7c75dbe51e/spec/ruby/language/method_spec.rb#L1156-L1163

Reproducer:

make -s test-spec RUN_OPTS= MSPECOPT=--debug 'SPECOPTS=-T --zjit-call-threshold=2 --repeat 2 -e "A method raises ArgumentError if passing hash as keyword arguments"'

The test passes on the first iteration but fails on the second, indicating the bug is in ZJIT-compiled code.

cc @rwstauner

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions