Skip to content

Commit 2f253b0

Browse files
authored
Apply @_spi(ForToolsIntegrationOnly) attribute to the right isKnown property. (#564)
Accidentally applied it to `Issue.Snapshot`, not `Issue`. ### 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 e3e7e94 commit 2f253b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Testing/Issues/Issue.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ public struct Issue: Sendable {
9898
public var sourceContext: SourceContext
9999

100100
/// Whether or not this issue is known to occur.
101+
@_spi(ForToolsIntegrationOnly)
101102
public var isKnown = false
102103

103104
/// Initialize an issue instance with the specified details.
@@ -215,7 +216,6 @@ extension Issue {
215216
public var sourceContext: SourceContext
216217

217218
/// Whether or not this issue is known to occur.
218-
@_spi(ForToolsIntegrationOnly)
219219
public var isKnown = false
220220

221221
/// Initialize an issue instance with the specified details.

0 commit comments

Comments
 (0)