cla-bot · GitHub

…bridge peer
Pipeline.search(query:) carried a `// SKIP REPLACE:` comment specifying an
identical-in-substance Kotlin body to what the naive Swift-to-Kotlin
transpile already produces. That override causes SkipBridge to silently
omit `search` from the generated Swift bridge peer (Pipeline_Bridge.swift)
used by SKIP_BRIDGE-flagged consumer builds (e.g. Skip apps targeting
Android), even though the Kotlin transpile output itself is correct.
limit(_:), offset(_:), and whereCondition(_:) — which have no REPLACE
override — bridge correctly.
Consumer symptom: `swift build --swift-sdk aarch64-unknown-linux-android28
... -DSKIP_BRIDGE` fails with "value of type 'Pipeline' has no member
'search'" despite the Kotlin side compiling fine.
Removing the override lets the naive transpile (verified byte-identical
Kotlin output) stand, restoring bridge visibility.

@IT-Guy007

@IT-Guy007

IT-Guy007 marked this pull request as ready for review

July 3, 2026 10:22

@marcprux

Read the original on github.com ↗