Skip to content

Fix argument forwarding in mrb_exec_irep() - #6392

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:mrb_exec_irep
Oct 24, 2024
Merged

Fix argument forwarding in mrb_exec_irep()#6392
matz merged 1 commit into
mruby:masterfrom
dearblue:mrb_exec_irep

Conversation

@dearblue

Copy link
Copy Markdown
Contributor

C to Ruby calls using mrb_exec_irep() were not forwarding arguments.

There was also a problem in setting the target class and method ID, which is also fixed.

This issue was discovered during the work to fix #6389.


This patch was tested by customizing #6391.

C to Ruby calls using `mrb_exec_irep()` were not forwarding arguments.

There was also a problem in setting the target class and method ID, which is also fixed.

This issue was discovered during the work to fix mruby#6389.
@dearblue
dearblue requested a review from matz as a code owner October 24, 2024 13:44
@github-actions github-actions Bot added the core label Oct 24, 2024
@matz
matz merged commit ba69f36 into mruby:master Oct 24, 2024
dearblue added a commit to dearblue/mruby that referenced this pull request Oct 25, 2024
The mruby#6392 has been merged, so the call to `mrb_yield_with_class()` is no longer needed.
@dearblue dearblue mentioned this pull request Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

instance_exec named block args don't work properly

2 participants