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 ba66ff1 commit 405811dCopy full SHA for 405811d
Plugins/BridgeJS/Sources/BridgeJSLink/BridgeJSLink.swift
@@ -660,7 +660,7 @@ public struct BridgeJSLink {
660
helperPrinter.write("let length = 0;")
661
helperPrinter.write("while (bytes[length] !== 0) { length += 1; }")
662
helperPrinter.write(
663
- "const fileID = \(JSGlueVariableScope.reservedTextDecoder).decode(bytes.subarray(0, length));"
+ "const fileID = \(JSGlueVariableScope.reservedDecodeString)(state.file, length);"
664
)
665
666
"throw new Error(`Attempted to call a released JSTypedClosure created at ${fileID}:${state.line}`);"
0 commit comments