Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed return value of OP_RETURN_BLK called directly under C function #6126

Merged
merged 1 commit into from Dec 27, 2023

Conversation

dearblue
Copy link
Contributor

def cross; Class.new { return 1 }; end; p cross'
# => #<Class:0x8245cf170>               # without this patch
# => 1                                  # with this patch

```ruby
def cross; Class.new { return 1 }; end; p cross'
# => #<Class:0x8245cf170>               # without this patch
# => 1                                  # with this patch
```
@dearblue dearblue requested a review from matz as a code owner December 24, 2023 06:31
@github-actions github-actions bot added the core label Dec 24, 2023
@matz matz merged commit 1ac4148 into mruby:master Dec 27, 2023
12 checks passed
@dearblue dearblue deleted the block-return branch January 3, 2024 02:57
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.

None yet

2 participants