From 0f3e7f2706a42637448600b2b9d7041605042ba8 Mon Sep 17 00:00:00 2001 From: Laszlo Teveli Date: Wed, 31 Jul 2024 18:19:28 +0200 Subject: [PATCH] Isolation 'nonisolated' is redundant on generic struct's stored properties; this is an error in Swift 6 --- Sources/Flow/HFlow.swift | 2 +- Sources/Flow/HFlowLayout.swift | 2 +- Sources/Flow/VFlow.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Flow/HFlow.swift b/Sources/Flow/HFlow.swift index e3a09a72..0a691ea7 100644 --- a/Sources/Flow/HFlow.swift +++ b/Sources/Flow/HFlow.swift @@ -21,7 +21,7 @@ import SwiftUI @frozen public struct HFlow: View { @usableFromInline - nonisolated let layout: HFlowLayout + let layout: HFlowLayout @usableFromInline let content: Content diff --git a/Sources/Flow/HFlowLayout.swift b/Sources/Flow/HFlowLayout.swift index 3fab2ccf..470f042f 100644 --- a/Sources/Flow/HFlowLayout.swift +++ b/Sources/Flow/HFlowLayout.swift @@ -4,7 +4,7 @@ import SwiftUI @frozen public struct HFlowLayout: Sendable { @usableFromInline - nonisolated let layout: FlowLayout + let layout: FlowLayout /// Creates a horizontal flow with the given spacing and vertical alignment. /// diff --git a/Sources/Flow/VFlow.swift b/Sources/Flow/VFlow.swift index fb968c36..cc5e4762 100644 --- a/Sources/Flow/VFlow.swift +++ b/Sources/Flow/VFlow.swift @@ -21,7 +21,7 @@ import SwiftUI @frozen public struct VFlow: View { @usableFromInline - nonisolated let layout: VFlowLayout + let layout: VFlowLayout @usableFromInline let content: Content