-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
My interpretation of the quote docstring is that doubling up the quote op should escape it, i.e., I expected the following to work:
Example
import macros
static:
let node = quote:
``+``(a, b)Current Output
test.nim(5, 6) Error: identifier expected, but got '`'
Expected Output
Should compile.
Additional Information
$ nim -v
Nim Compiler Version 0.19.9 [Linux: amd64]
Compiled at 2019-04-13
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: f6ad071a46a2bec57db453343d8d8b75d3d16ac2
active boot switches: -d:release