File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Plugins/BridgeJS/Sources/BridgeJSCore Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -245,9 +245,11 @@ class ExportSwift {
245245 let collector = APICollector ( parent: self )
246246 collector. walk ( sourceFile)
247247 exportedFunctions. append ( contentsOf: collector. exportedFunctions)
248- exportedClasses. append ( contentsOf: collector. exportedClassNames. map {
249- collector. exportedClassByName [ $0] !
250- } )
248+ exportedClasses. append (
249+ contentsOf: collector. exportedClassNames. map {
250+ collector. exportedClassByName [ $0] !
251+ }
252+ )
251253 return collector. errors
252254 }
253255
Original file line number Diff line number Diff line change @@ -480,7 +480,7 @@ struct ImportTS {
480480 leftParen: . leftParenToken( ) ,
481481 type: IdentifierTypeSyntax ( name: . identifier( " JSException " ) ) ,
482482 rightParen: . rightParenToken( )
483- ) : nil ,
483+ ) : nil
484484 )
485485 }
486486 static func buildAccessorEffect( throws: Bool , async : Bool ) -> AccessorEffectSpecifiersSyntax {
@@ -492,7 +492,7 @@ struct ImportTS {
492492 leftParen: . leftParenToken( ) ,
493493 type: IdentifierTypeSyntax ( name: . identifier( " JSException " ) ) ,
494494 rightParen: . rightParenToken( )
495- ) : nil ,
495+ ) : nil
496496 )
497497 }
498498}
You can’t perform that action at this time.
0 commit comments