add tfile/tline assertions for template expansion file/line

This commit is contained in:
Aman Gupta 2015-10-06 15:47:07 -07:00
commit 2240fd3f3f
4 changed files with 31 additions and 8 deletions

View file

@ -1,6 +1,6 @@
discard """
file: "tnot.nim"
line: 14
tfile: "tnot.nim"
tline: 14
errormsg: "type mismatch"
"""
# BUG: following compiles, but should not:
@ -17,6 +17,3 @@ proc main =
echo "No"
main()