Skip to content

Commit

Permalink
Fixed ambiguous enums
Browse files Browse the repository at this point in the history
  • Loading branch information
zevv committed Dec 23, 2023
1 parent 1fcf2e0 commit 5008f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actors/pool.nim
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ proc sendSig*(actor: Actor, sig: sink Signal, src: Actor) =
sig.src = src

actor.withLock:
if actor[].state notin {Killed, Dead}:
if actor[].state notin {State.Killed, State.Dead}:
actor[].sigQueue.addLast(move sig)

actor[].pool.resume(actor)
Expand Down

0 comments on commit 5008f60

Please sign in to comment.