Merge pull request #91192 from vnen/gdscript-validated-native-static-calls

GDScript: Perform validated calls with static methods
This commit is contained in:
Rémi Verschelde 2024-05-01 09:55:04 +02:00
commit 731ea17dd4
No known key found for this signature in database
GPG key ID: C3336907360768E1
9 changed files with 330 additions and 165 deletions

View file

@ -0,0 +1,7 @@
func test():
# Validated native static call with return value.
print(FileAccess.file_exists("some_file"))
# Validated native static call without return value.
Node.print_orphan_nodes()

View file

@ -0,0 +1,2 @@
GDTEST_OK
false