From b626d32a4869915d916f5ad12bb92ec3630cbddf Mon Sep 17 00:00:00 2001 From: Dmitry Kovba Date: Tue, 24 Jun 2025 13:15:44 -0700 Subject: [PATCH] Fix compilation warnings (#163) This PR fixes compilation warnings observed in: ``` swift -v --version Apple Swift version 6.2-dev (LLVM 5fbc818cf26c90b, Swift 2e1897356956e43) Target: arm64-apple-macosx26.0 /Users/Dmitry/Library/Developer/Toolchains/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-06-17-a.xctoolchain/usr/bin/swift-frontend --version Apple Swift version 6.2-dev (LLVM 5fbc818cf26c90b, Swift 2e1897356956e43) Target: arm64-apple-macosx26.0 Build config: +assertions ``` --- .../SendablePropertyMacrosTests.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Tests/SendablePropertyMacrosTests/SendablePropertyMacrosTests.swift b/Tests/SendablePropertyMacrosTests/SendablePropertyMacrosTests.swift index b4bc171c..7e629e74 100644 --- a/Tests/SendablePropertyMacrosTests/SendablePropertyMacrosTests.swift +++ b/Tests/SendablePropertyMacrosTests/SendablePropertyMacrosTests.swift @@ -25,8 +25,7 @@ import XCTest #if canImport(SendablePropertyMacros) import SendablePropertyMacros -// testMacros is thread-safe. -nonisolated(unsafe) let testMacros: [String: Macro.Type] = [ +let testMacros: [String: Macro.Type] = [ "SendableProperty": SendablePropertyMacro.self ] #endif