Merge pull request #4819 from andreaferretti/usefulmacros

Some useful macros
This commit is contained in:
Andreas Rumpf 2016-10-24 18:41:45 +02:00 • committed by GitHub
commit 00f09f1309
3 changed files with 58 additions and 0 deletions

13
tests/macros/tdump.nim Normal file
View file

@ -0,0 +1,13 @@
discard """
output: '''x = 10
x + y = 30
'''
"""
import future
let
x = 10
y = 20
dump x
dump(x + y)