tabling declared() stuff
This commit is contained in:
parent
e6a4213fae
commit
89ad1cc9b1
1 changed files with 0 additions and 12 deletions
|
|
@ -1,12 +0,0 @@
|
||||||
discard """
|
|
||||||
output:'''false'''
|
|
||||||
"""
|
|
||||||
|
|
||||||
{.experimental: "codeReordering".}
|
|
||||||
|
|
||||||
proc x() =
|
|
||||||
echo(declared(foo))
|
|
||||||
|
|
||||||
var foo = 4
|
|
||||||
|
|
||||||
x() # "false", the same as it would be with code reordering OFF
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue