skiptools / skiptools/skip-bridge
Warn when a bridged transpiled module has code not guarded within #if !SKIP_BRIDGE
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 6
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
When a transpiled + bridged module is not bookended with #if !SKIP_BRIDGE / #endif, the result will be a confusing error like invalid redeclaration of 'MyType' during the Gradle build due to Skip compiling both the bridged and non-bridged Swift.
We could identify when a file doesn't contain #if !SKIP_BRIDGE and issue a helpful warning or error message.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the handling for transpiled and bridged modules and the Gradle build path. Check how the presence of #if !SKIP_BRIDGE and #endif could be detected, then verify that an absent guard produces a helpful warning or error instead of the confusing redeclaration failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100