mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-31 13:35:11 +00:00
Merge branch 'master' of github.com:status-im/nim-asyncdispatch2
This commit is contained in:
commit
c9ab35dabc
@ -185,6 +185,8 @@ proc processBody(node, retFutureSym: NimNode,
|
|||||||
|
|
||||||
proc getName(node: NimNode): string {.compileTime.} =
|
proc getName(node: NimNode): string {.compileTime.} =
|
||||||
case node.kind
|
case node.kind
|
||||||
|
of nnkSym:
|
||||||
|
return $node
|
||||||
of nnkPostfix:
|
of nnkPostfix:
|
||||||
return node[1].strVal
|
return node[1].strVal
|
||||||
of nnkIdent:
|
of nnkIdent:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user