diff --git a/asyncdispatch2/asyncmacro2.nim b/asyncdispatch2/asyncmacro2.nim index a7395e11..2b573df6 100644 --- a/asyncdispatch2/asyncmacro2.nim +++ b/asyncdispatch2/asyncmacro2.nim @@ -185,6 +185,8 @@ proc processBody(node, retFutureSym: NimNode, proc getName(node: NimNode): string {.compileTime.} = case node.kind + of nnkSym: + return $node of nnkPostfix: return node[1].strVal of nnkIdent: