mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix printing of 'isolated' parameters.
Fixes rdar://83316058.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user