You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
Current Output
Expected Output
Should compile.
Additional Information
The text was updated successfully, but these errors were encountered: