Skip to content

Commit 5bf23cd

Browse files
committed
fix: Regenerate BridgeJSIdentityTests with correct target and add to generate script
The Generated files were incorrectly copied from BridgeJSRuntimeTests, containing types from the wrong module. Regenerate with BridgeJSTool for the BridgeJSIdentityTests target. Add target to bridge-js-generate.sh. Fix SwiftToSkeleton formatting.
1 parent 3d1907d commit 5bf23cd

4 files changed

Lines changed: 488 additions & 34791 deletions

File tree

Plugins/BridgeJS/Sources/BridgeJSCore/SwiftToSkeleton.swift

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,13 @@ public final class SwiftToSkeleton {
4444
public func finalize() throws -> BridgeJSSkeleton {
4545
var perSourceErrors: [(inputFilePath: String, errors: [DiagnosticError])] = []
4646
var importedFiles: [ImportedFileSkeleton] = []
47-
var exported = ExportedSkeleton(functions: [], classes: [], enums: [], exposeToGlobal: exposeToGlobal, identityMode: identityMode)
47+
var exported = ExportedSkeleton(
48+
functions: [],
49+
classes: [],
50+
enums: [],
51+
exposeToGlobal: exposeToGlobal,
52+
identityMode: identityMode
53+
)
4854
var exportCollectors: [ExportSwiftAPICollector] = []
4955

5056
for (sourceFile, inputFilePath) in sourceFiles {

0 commit comments

Comments
 (0)