Skip to content

Commit 2f0ae44

Browse files
authored
Merge pull request swiftlang#58567 from jsoref/spelling-test-distributed
Spelling test distributed
2 parents 91a23de + a806726 commit 2f0ae44

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

test/Distributed/Runtime/distributed_actor_init_local.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ distributed actor PickATransport1 {
2121
}
2222

2323
distributed actor PickATransport2 {
24-
init(other: Int, thesystem: FakeActorSystem) async {
25-
self.actorSystem = thesystem
24+
init(other: Int, theSystem: FakeActorSystem) async {
25+
self.actorSystem = theSystem
2626
}
2727
}
2828

@@ -240,7 +240,7 @@ func test() async {
240240
// CHECK-NOT: ready
241241
// CHECK: resign id:ActorAddress(address: "[[ID5]]")
242242

243-
test.append(await PickATransport2(other: 1, thesystem: system))
243+
test.append(await PickATransport2(other: 1, theSystem: system))
244244
// CHECK: assign type:PickATransport2, id:ActorAddress(address: "[[ID6:.*]]")
245245
// CHECK: ready actor:main.PickATransport2, id:ActorAddress(address: "[[ID6]]")
246246

test/Distributed/distributed_actor_accessor_thunks_32bit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ public distributed actor MyOtherActor {
234234
// CHECK: [[STR_ARG_FLAGS_PTR:%.*]] = getelementptr inbounds { i32, i32, i32 }, { i32, i32, i32 }* %temp-coercion.coerced, i32 0, i32 2
235235
// CHECK: [[STR_ARG_FLAGS:%.*]] = load i32, i32* [[STR_ARG_FLAGS_PTR]]
236236

237-
/// Call distributed thunk with exploaded string value
237+
/// Call distributed thunk with exploded string value
238238

239239
// CHECK: [[THUNK_CONTEXT_PTR:%.*]] = bitcast i8* [[THUNK_ASYNC_CONTEXT]] to %swift.context*
240240

test/Distributed/distributed_actor_accessor_thunks_64bit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ public distributed actor MyOtherActor {
221221
// CHECK-NEXT: [[THUNK_ASYNC_CONTEXT:%.*]] = call swiftcc i8* @swift_task_alloc(i64 [[CONTEXT_SIZE_64]])
222222
// CHECK: [[THUNK_CONTEXT_PTR:%.*]] = bitcast i8* [[THUNK_ASYNC_CONTEXT]] to %swift.context*
223223

224-
/// Call distributed thunk with exploaded string value
224+
/// Call distributed thunk with exploded string value
225225

226226
// CHECK: [[THUNK_RESULT:%.*]] = call { i8*, i64, %swift.error* } (i32, i8*, i8*, ...) @llvm.coro.suspend.async.sl_p0i8i64p0s_swift.errorss(
227227
// CHECK-SAME: i8* bitcast (void (%swift.context*, i64, %swift.bridge*, %T27distributed_actor_accessors7MyActorC*)* @"$s27distributed_actor_accessors7MyActorC7simple3ySiSSYaKFTE" to i8*),

0 commit comments

Comments
 (0)