handle quoted routine symbols and non symbols expressions as before (#21740)

This commit is contained in:
ringabout
2023-04-28 16:25:31 +08:00
committed by GitHub
parent 220b450489
commit 560fa9a1fe
2 changed files with 14 additions and 2 deletions

View File

@@ -323,3 +323,14 @@ block:
discard m
hello(12)
block:
proc hello(x: int, y: typedesc) =
discard
macro main =
let x = 12
result = quote do:
`hello`(12, type(x))
main()