Skip to content

Commit ee56c56

Browse files
committed
wip
1 parent 672654d commit ee56c56

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[email protected]

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ let package = Package(
2727
.package(url: "https://github.com/pointfreeco/swift-identified-collections", from: "1.1.0"),
2828
.package(url: "https://github.com/pointfreeco/swift-macro-testing", from: "0.2.0"),
2929
.package(url: "https://github.com/pointfreeco/swift-navigation", from: "2.3.0"),
30-
.package(url: "https://github.com/pointfreeco/swift-perception", "1.3.4"..<"3.0.0"),
30+
// .package(url: "https://github.com/pointfreeco/swift-perception", "1.3.4"..<"3.0.0"),
31+
.package(url: "https://github.com/pointfreeco/swift-perception", branch: "perception-2-fixes"),
3132
.package(url: "https://github.com/pointfreeco/swift-sharing", "0.1.2"..<"3.0.0"),
3233
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.3.0"),
3334
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.0.0"),

Sources/ComposableArchitecture/Observation/ObservationStateRegistrar.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ extension ObservationStateRegistrar: Equatable, Hashable, Codable {
3030
@inlinable
3131
public func access<Subject: Observable, Member>(
3232
_ subject: Subject,
33-
keyPath: KeyPath<Subject, Member>,
34-
filePath: StaticString = #filePath,
35-
line: UInt = #line
33+
keyPath: KeyPath<Subject, Member>
3634
) {
37-
self.registrar.access(subject, keyPath: keyPath, filePath: filePath, line: line)
35+
self.registrar.access(subject, keyPath: keyPath)
3836
}
3937

4038
/// Mutates a value to a new value, and decided to notify observers based on the identity of

0 commit comments

Comments
 (0)