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.
When a transpiled + bridged module is not bookended with
#if !SKIP_BRIDGE/#endif, the result will be a confusing error likeinvalid 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_BRIDGEand issue a helpful warning or error message.