add tfile/tline assertions for template expansion file/line
This commit is contained in:
parent
eea8d604d0
commit
2240fd3f3f
4 changed files with 31 additions and 8 deletions
|
|
@ -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()
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue