Skip to content

Commit 06c5fcf

Browse files
committed
hm
1 parent ed1ed26 commit 06c5fcf

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

Sources/VDFlow/EmptyStep.swift

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,13 @@ public struct EmptyStepsCollection: StepsCollection {
3434
public var _lastMutateID: MutateID? { nil }
3535
}
3636

37+
@available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
3738
extension Never: StepsCollection {
3839

39-
public typealias AllSteps = EmptyStepsCollection.AllSteps
40-
41-
public var selected: AllSteps {
42-
get { .none }
40+
public var _lastMutateID: MutateID? { nil }
41+
public var selected: Never {
42+
get { fatalError() }
4343
set {}
4444
}
45-
46-
public static func step<T>(for keyPath: WritableKeyPath<Self, StepID<T>>) -> AllSteps? {
47-
AllSteps.none
48-
}
49-
50-
public var _lastMutateID: MutateID? { nil }
45+
public static func step<T>(for keyPath: WritableKeyPath<Self, StepID<T>>) -> AllSteps? { nil }
5146
}

0 commit comments

Comments
 (0)