Skip to content

Commit 1c90299

Browse files
authored
Merge pull request #63326 from ktoso/pick-distributed-localtesting-api-break-fix
🍒[5.8][Distributed] LocalDAS cannot gain constraint on resolve method
2 parents 0adeb61 + 957bfa3 commit 1c90299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Distributed/LocalTestingDistributedActorSystem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public final class LocalTestingDistributedActorSystem: DistributedActorSystem, @
4343
public init() {}
4444

4545
public func resolve<Act>(id: ActorID, as actorType: Act.Type)
46-
throws -> Act? where Act: DistributedActor, Act.ID == ActorID {
46+
throws -> Act? where Act: DistributedActor {
4747
guard let anyActor = self.activeActorsLock.withLock({ self.activeActors[id] }) else {
4848
throw LocalTestingDistributedActorSystemError(message: "Unable to locate id '\(id)' locally")
4949
}

0 commit comments

Comments
 (0)