skip
skip copied to clipboard
Improve `// SKIP @bridge` annotation
Currently, if I wanted to bridge this code in a module where auto: false, I'd have to do:
// SKIP @bridge
public protocol ClientAlertHandler: Sendable {
// SKIP @bridge
func displayAlert(_ alert: ClientAlert)
// SKIP @bridge
func displayAlertError(_ error: Error)
func displayDecimal(_ decimal: Decimal)
}
However, I'd be more appropriate if I could:
// SKIP @bridge-all-members
public protocol ClientAlertHandler: Sendable {
func displayAlert(_ alert: ClientAlert)
func displayAlertError(_ error: Error)
// SKIP @nobridge
func displayDecimal(_ decimal: Decimal)
}