Added a dump macro for debugging

This commit is contained in:
Andrea Ferretti 2016-09-22 12:07:36 +02:00
commit 15f7094fde
2 changed files with 34 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)