mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-21 00:11:26 +00:00
handle quoted routine symbols and non symbols expressions as before (#21740)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user