Skip to content

Commit ee6decc

Browse files
authored
Merge pull request #81111 from xedin/fix-region-based-isolation-test
[Tests] RegionBasedIsolation: Switch `actor isolated` to `actor-isola…
2 parents 301a752 + b0792d4 commit ee6decc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ClangImporter/regionbasedisolation.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ extension ObjCObject {
6161
// We emit an error since loadObjects just returns an [NSObject], not a
6262
// sending [NSObject].
6363
try await loadObjects()
64-
} // expected-error {{task or actor isolated value cannot be sent}}
64+
} // expected-error {{task or actor-isolated value cannot be sent}}
6565

6666
// Check if we do not mark the block as NS_SWIFT_SENDABLE
6767
//
@@ -121,5 +121,5 @@ extension ObjCObject {
121121
// We emit an error since loadObjects just returns an [NSObject], not a
122122
// sending [NSObject].
123123
try await loadObjects2()
124-
} // expected-error {{task or actor isolated value cannot be sent}}
124+
} // expected-error {{task or actor-isolated value cannot be sent}}
125125
}

0 commit comments

Comments
 (0)