Skip to content

Cherry-pick "Fix asBodyAndResultVar call in visitInlinedLambdaInComposableScope" - #7646

Open
Derek Xu (derekxu16) wants to merge 1 commit into
2.4.20from
rrr/2.4.20/derekx/fix-visit-inlined-lambda-in-composable-scope
Open

Cherry-pick "Fix asBodyAndResultVar call in visitInlinedLambdaInComposableScope"#7646
Derek Xu (derekxu16) wants to merge 1 commit into
2.4.20from
rrr/2.4.20/derekx/fix-visit-inlined-lambda-in-composable-scope

Conversation

@derekxu16

Copy link
Copy Markdown
Collaborator

Relnote: "Fixed a bug that, in certain cases, prevented execution of non-local return statements inside lambdas called from when expressions."

Test: CompositionTests.testNonLocalReturnFromWhen and ControlFlowTransformTests.testNonLocalReturnFromWhen
Bug: 549552317

Relnote: "Fixed a bug that, in certain cases, prevented execution of
  non-local return `statements` inside lambdas called from `when`
  expressions."

Test: CompositionTests.testNonLocalReturnFromWhen and
ControlFlowTransformTests.testNonLocalReturnFromWhen
Bug: 549552317
@kotlin-safemerge

kotlin-safemerge Bot commented Aug 21, 2026

Copy link
Copy Markdown

Code Owners

RuleOwnersApproval
/​plugins/​compose/​ShikaSD, andrewbailey, bentrengrove, chuckjaz, derekxu16
ShikaSD 🔒
*
kotlin-release

UNASSIGNED
PR commands for maintainers
CommandDescriptionParameters
/safe-mergeRebase-merges with automatic fixup commit squashing--fixup Autosquash fixup commits (on by default)
/safe-squash-mergeSquash-merges with optional commit title/body override--title Title of the squashed commit
--message Body of the squashed commit
/dry-runRuns the test pipeline with changes rebased on latest master--retry Retry the CI run on failure
/test-publicTriggers the public test suite without rebasing on latest master
/test-privateTriggers the private test suite without rebasing on latest master
/codeownersTriggers code owners check and comment update
/fixupSquashes fixup commits and force pushes the branch
/cancel-coordinatorCancels the merge coordinator currently running for this branch

@derekxu16
Derek Xu (derekxu16) marked this pull request as ready for review August 21, 2026 21:52

@ShikaSD Andrei Shikov (ShikaSD) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/final

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants