Skip to content

NFC: BridgeJS: Simplify ExportSwift codegen by removing redundant branches and extracting helpers#624

Merged
krodak merged 1 commit intoswiftwasm:mainfrom
PassiveLogic:kr/codegen-cleanup
Feb 12, 2026
Merged

NFC: BridgeJS: Simplify ExportSwift codegen by removing redundant branches and extracting helpers#624
krodak merged 1 commit intoswiftwasm:mainfrom
PassiveLogic:kr/codegen-cleanup

Conversation

@krodak
Copy link
Member

@krodak krodak commented Feb 12, 2026

Overview

Simplifies ExportSwift.swift through three independent simplifications:

  • Removed redundant .swiftProtocol branches in liftParameter
  • Extractd protocolCastSuffix(for:) helper
  • Collapsed lowerUnwrappedOptionalStatements

@krodak krodak self-assigned this Feb 12, 2026
@krodak krodak merged commit 318f3ae into swiftwasm:main Feb 12, 2026
11 checks passed
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