1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00
Files
godot/modules/gdscript/tests/scripts/runtime/features/object_constructor.gd
Danil Alexeev e8696f9961 GDScript: Improve call analysis
* Add missing `UNSAFE_CALL_ARGUMENT` warning.
* Fix `Object` constructor.
* Display an error for non-existent static methods.
2023-09-21 13:36:39 +03:00

7 lines
113 B
GDScript

# GH-73213
func test():
var object := Object.new() # Not `Object()`.
print(object.get_class())
object.free()