Skip to content

[Wasm]: Generate a Kotlin-level cast for bridged lambda functions. - #8404

Merged
Margarita Bobova (woainikk) merged 1 commit into
2.4.20from
rrr/2.4.20/kt89267
Sep 25, 2026
Merged

Margarita Bobova (woainikk) merged 1 commit into
2.4.20from
rrr/2.4.20/kt89267

Conversation

@karlosz

Copy link
Copy Markdown
Contributor

Implicit casts are not checked by the Wasm backend at the moment, so make sure parameters are checked with a normal cast.

^RCA: The new callable reference lowering phase failed to keep the exact same cast semantics as the old callable reference lowering phase which produced a cast type that is always checked by the Wasm backend. A regression test has been added.

^KT-89267 Fixed

Implicit casts are not checked by the Wasm backend at the moment, so
make sure parameters are checked with a normal cast.

^RCA: The new callable reference lowering phase failed to keep the
exact same cast semantics as the old callable reference lowering phase
which produced a cast type that is always checked by the Wasm
backend. A regression test has been added.

^KT-89267 Fixed
@kotlin-safemerge

kotlin-safemerge Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Code Owners

RuleOwnersApproval
/​compiler/​ir/​backend.​wasm/​
kotlin-wasm
✅
bashor 🔒
*
kotlin-release
✅
woainikk
/​compiler/​testData/​codegen/​box/​
kotlin-compiler
✅
bashor 🔒
/​compiler/​testData/​debug/​
kotlin-frontend
kotlin-js
kotlin-jvm
kotlin-native
kotlin-wasm
✅
bashor 🔒
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—
/cherry-pickCherry-picks this pull request onto a target release branch--target Release version to cherry-pick onto

@bashor Zalim Bashorov (bashor) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

/final

@woainikk
Margarita Bobova (woainikk) merged commit 1b6b624 into 2.4.20 Sep 25, 2026
3 of 4 checks passed
@woainikk
Margarita Bobova (woainikk) deleted the rrr/2.4.20/kt89267 branch September 25, 2026 11:49
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.

3 participants