Skip to content

Commit 48c6f59

Browse files
authored
[Distributed] LocalDAS cannot gain constraint on resolve method (#63321)
1 parent 0af3523 commit 48c6f59

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)