Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: added unchecked sendable to JavascriptError to be able to compil…
…e with Swift 5.6
  • Loading branch information
TizianoCoroneo committed Feb 9, 2022
commit 43aad75eea3dbcf4fc93abeac050d6c77a11a1ed
2 changes: 1 addition & 1 deletion Sources/ApolloCodegenLib/Frontend/JavaScriptBridge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import JavaScriptCore

/// An errror thrown during JavaScript execution.
/// See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error
public class JavaScriptError: JavaScriptObject, Error {
public class JavaScriptError: JavaScriptObject, Error, @unchecked Sendable {
lazy var name: String? = self["name"]

lazy var message: String? = self["message"]
Expand Down