Skip to content

Distinguish the call frame of the generator with OP_RETURN_BLK#6412

Merged
matz merged 1 commit into
mruby:masterfrom
dearblue:OP_RETURN_BLK
Nov 10, 2024
Merged

Distinguish the call frame of the generator with OP_RETURN_BLK#6412
matz merged 1 commit into
mruby:masterfrom
dearblue:OP_RETURN_BLK

Conversation

@dearblue

Copy link
Copy Markdown
Contributor

When multiple identical proc objects are placed on the call stack, it is not possible to distinguish where to return.
Therefore, use env object comparisons to do this.

fixed #6411

When multiple identical proc objects are placed on the call stack, it is not possible to distinguish where to `return`.
Therefore, use env object comparisons to do this.

fixed mruby#6411
@dearblue
dearblue requested a review from matz as a code owner November 10, 2024 09:55
@github-actions github-actions Bot added the core label Nov 10, 2024
@matz
matz merged commit d4cb111 into mruby:master Nov 10, 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.

Wrong function unwinding when using return in a block

2 participants