Skip to content

Commit

Permalink
Fix signature of 'access' method.
Browse files Browse the repository at this point in the history
wip
  • Loading branch information
mbrandonw committed Oct 30, 2024
1 parent bc67aa8 commit 3319937
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/Perception/PerceptionRegistrar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ public struct PerceptionRegistrar: Sendable {
@available(iOS 17, macOS 14, tvOS 17, watchOS 10, *)
extension PerceptionRegistrar {
public func access<Subject: Observable, Member>(
_ subject: Subject, keyPath: KeyPath<Subject, Member>
_ subject: Subject,
keyPath: KeyPath<Subject, Member>,
fileID: StaticString = #fileID,
filePath: StaticString = #filePath,
line: UInt = #line,
column: UInt = #column
) {
self.registrar.access(subject, keyPath: keyPath)
}
Expand Down

0 comments on commit 3319937

Please sign in to comment.