bugfix: 'defined/compiles' open an implicit mixin scope in generics
This commit is contained in:
parent
a71c5f98ea
commit
4892d6929a
4 changed files with 15 additions and 8 deletions
|
|
@ -51,7 +51,7 @@ proc inbox*[TIn, TOut](self: PActor[TIn, TOut]): ptr TChannel[TIn] =
|
|||
## gets a pointer to the associated inbox of the actor `self`.
|
||||
result = addr(self.i)
|
||||
|
||||
proc running*[TIn, TOut](a: PActor[TIn, TOut]) =
|
||||
proc running*[TIn, TOut](a: PActor[TIn, TOut]): bool =
|
||||
## returns true if the actor `a` is running.
|
||||
result = running(a.t)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue