pragma blocks; fixed line information issue with user defined assertions
This commit is contained in:
parent
42dad650e0
commit
78f4aacde9
17 changed files with 133 additions and 23 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue