From 7e14cedd5fc8a0b95297247189f38a58a615833e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Sun, 10 Nov 2024 16:48:53 +0100 Subject: [PATCH] Revert "AST: Mark some nodes as Sendable" This reverts commit 5c3a333da099231b4cdc79574c281f352c612911. --- Plugins/Libraries/LighterCodeGenAST/Nodes/Expression.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/Libraries/LighterCodeGenAST/Nodes/Expression.swift b/Plugins/Libraries/LighterCodeGenAST/Nodes/Expression.swift index bf8e7cc..404e15f 100644 --- a/Plugins/Libraries/LighterCodeGenAST/Nodes/Expression.swift +++ b/Plugins/Libraries/LighterCodeGenAST/Nodes/Expression.swift @@ -85,12 +85,12 @@ public indirect enum Expression: Equatable { * * Used as the value for ``Expression/functionCall(_:)``. */ -public struct FunctionCall: Equatable, Sendable { +public struct FunctionCall: Equatable { /** * A parameter passed as part of the function call. */ - public struct Parameter: Equatable, Sendable { + public struct Parameter: Equatable { /// The keyword/label of the parameter, can be `nil` if it is a wildcard /// (unlabled) parameter. @@ -108,7 +108,7 @@ public struct FunctionCall: Equatable, Sendable { /** * A trailing closure attached to a function call. */ - public struct TrailingClosure: Equatable, Sendable { + public struct TrailingClosure: Equatable { /// The parameter list of the trailing closure (e.g. `( a, b ) in`). public let parameters: [ String ]