documented the `noforward` pragma
This commit is contained in:
parent
14b5d5f262
commit
1d29d24465
4 changed files with 60 additions and 2 deletions
10
tests/compile/tnoforward.nim
Normal file
10
tests/compile/tnoforward.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{. noforward: on .}
|
||||
|
||||
proc foo(x: int) =
|
||||
bar x
|
||||
|
||||
proc bar(x: int) =
|
||||
echo x
|
||||
|
||||
foo(10)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue