Skip to content

Commit d9f8d2f

Browse files
authored
Remove unintentional label from 'isolated' parameter on a thunk emitted by @test (#759)
Small cleanup from the changes in #747: Remove an unintentional parameter label which resulted in a parameter being named `isolated_` when it should be just `_`. ### 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 fb1eead commit d9f8d2f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/TestingMacros/TestDeclarationMacro.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ public struct TestDeclarationMacro: PeerMacro, Sendable {
314314
thunkParam
315315
}
316316
FunctionParameterSyntax(
317-
modifiers: [DeclModifierSyntax(name: .keyword(.isolated))],
318317
firstName: .wildcardToken(),
319318
type: "isolated (any Actor)?" as TypeSyntax,
320319
defaultValue: InitializerClauseSyntax(value: "Testing.__defaultSynchronousIsolationContext" as ExprSyntax)

0 commit comments

Comments
 (0)