Fix printing of 'isolated' parameters.

Fixes rdar://83316058.
This commit is contained in:
Doug Gregor
2021-11-12 21:45:44 -08:00
parent cc875662f2
commit 035d492a3a
2 changed files with 3 additions and 3 deletions

View File

@@ -15,6 +15,9 @@
@available(SwiftStdlib 5.1, *)
public actor SomeActor {
nonisolated func maine() { }
// CHECK: nonisolated public func takesIsolated(other: isolated {{(Test.)?}}SomeActor)
public nonisolated func takesIsolated(other: isolated SomeActor) { }
}
// CHECK: @globalActor public struct SomeGlobalActor