GDScript: Fix some bugs with static variables and functions
This commit is contained in:
parent
598378513b
commit
aebbbda080
21 changed files with 624 additions and 194 deletions
|
|
@ -0,0 +1,15 @@
|
|||
GDTEST_OK
|
||||
A _static_init begin: 1
|
||||
A _static_init end: -1
|
||||
B _static_init begin: -1
|
||||
B _static_init end: -2
|
||||
-2 -2
|
||||
1 1
|
||||
2 2
|
||||
sf: 3
|
||||
sf: 4
|
||||
sg: 5
|
||||
f: 6
|
||||
g: 7
|
||||
h: call f(8)
|
||||
f: 8
|
||||
Loading…
Add table
Add a link
Reference in a new issue