Remove processing hints for async procs.
This commit is contained in:
parent
943aaecbe7
commit
f86aca799c
1 changed files with 0 additions and 3 deletions
|
|
@ -306,7 +306,6 @@ proc asyncSingleProc(prc: NimNode): NimNode {.compileTime.} =
|
||||||
" proc/method definition or lambda node expected.")
|
" proc/method definition or lambda node expected.")
|
||||||
|
|
||||||
let prcName = prc.name.getName
|
let prcName = prc.name.getName
|
||||||
hint("Processing " & prcName & " as an async proc.")
|
|
||||||
|
|
||||||
let returnType = prc.params[0]
|
let returnType = prc.params[0]
|
||||||
var baseType: NimNode
|
var baseType: NimNode
|
||||||
|
|
@ -527,8 +526,6 @@ macro multisync*(prc: untyped): untyped =
|
||||||
##
|
##
|
||||||
## The generated async procedures use the ``async`` macro, whereas the
|
## The generated async procedures use the ``async`` macro, whereas the
|
||||||
## generated synchronous procedures simply strip off the ``await`` calls.
|
## generated synchronous procedures simply strip off the ``await`` calls.
|
||||||
hint("Processing " & prc[0].getName & " as a multisync proc.")
|
|
||||||
|
|
||||||
let (sync, asyncPrc) = splitProc(prc)
|
let (sync, asyncPrc) = splitProc(prc)
|
||||||
result = newStmtList()
|
result = newStmtList()
|
||||||
result.add(asyncSingleProc(asyncPrc))
|
result.add(asyncSingleProc(asyncPrc))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue