We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1aaebf5 commit 83f84b7Copy full SHA for 83f84b7
Sources/JExtractSwiftLib/JNI/JNISwift2JavaGenerator+JavaBindingsPrinting.swift
@@ -549,7 +549,7 @@ extension JNISwift2JavaGenerator {
549
var modifiers = modifiers
550
551
// If we are a protocol, we emit this as default method
552
- if importedFunc?.parentType?.asNominalType?.isProtocol ?? false {
+ if isParentProtocol {
553
modifiers.insert("default", at: 1)
554
}
555
0 commit comments