pragma blocks; fixed line information issue with user defined assertions

This commit is contained in:
Araq 2012-01-17 23:58:18 +01:00
commit 78f4aacde9
17 changed files with 133 additions and 23 deletions

View file

@ -1,7 +1,7 @@
# To test stack overflow message
proc over(a: int): int =
if a >= 400:
if a >= 10:
assert false
return
result = over(a+1)+5