Fixes asyncmacro compilation in tests.
This commit is contained in:
parent
cfd187d16e
commit
519aa16b67
1 changed files with 1 additions and 2 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
## *************
|
## *************
|
||||||
## `asyncdispatch` module depends on the `asyncmacro` module to work properly.
|
## `asyncdispatch` module depends on the `asyncmacro` module to work properly.
|
||||||
|
|
||||||
import macros
|
import macros, strutils
|
||||||
|
|
||||||
proc skipUntilStmtList(node: NimNode): NimNode {.compileTime.} =
|
proc skipUntilStmtList(node: NimNode): NimNode {.compileTime.} =
|
||||||
# Skips a nest of StmtList's.
|
# Skips a nest of StmtList's.
|
||||||
|
|
@ -478,4 +478,3 @@ macro multisync*(prc: untyped): untyped =
|
||||||
result = newStmtList()
|
result = newStmtList()
|
||||||
result.add(asyncSingleProc(asyncPrc))
|
result.add(asyncSingleProc(asyncPrc))
|
||||||
result.add(sync)
|
result.add(sync)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue