improvements to get code size down for programs that don't use GC
This commit is contained in:
parent
c9d21164be
commit
e25384db89
18 changed files with 642 additions and 181 deletions
|
|
@ -1,7 +1,9 @@
|
|||
# To test stack overflow message
|
||||
|
||||
proc over(a: int): int =
|
||||
if a == high(int): return
|
||||
if a >= 400:
|
||||
assert false
|
||||
return
|
||||
result = over(a+1)+5
|
||||
|
||||
Echo($over(0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue