Skip to content

Commit b0792d4

Browse files
committed
[Tests] RegionBasedIsolation: Switch actor isolated to actor-isolated in a few error messages
1 parent 301a752 commit b0792d4

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)