Skip to content

Commit 52301d2

Browse files
authored
Declare availability for SourceLocation.filePath. (#1544)
Added in 6.3. ### Checklist: - [x] Code and documentation should follow the style of the [Style Guide](https://github.com/apple/swift-testing/blob/main/Documentation/StyleGuide.md). - [x] If public symbols are renamed or modified, DocC references should be updated.
1 parent 5e86c57 commit 52301d2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Sources/Testing/SourceAttribution/SourceLocation.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ public struct SourceLocation: Sendable {
7171
}
7272

7373
/// The path to the source file.
74+
///
75+
/// @Metadata {
76+
/// @Available(Swift, introduced: 6.3)
77+
/// }
7478
public var filePath: String
7579

7680
/// The line in the source file.

0 commit comments

Comments
 (0)