mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
GDScript: Improve call analysis
* Add missing `UNSAFE_CALL_ARGUMENT` warning. * Fix `Object` constructor. * Display an error for non-existent static methods.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# GH-73213
|
||||
|
||||
func test():
|
||||
var object := Object.new() # Not `Object()`.
|
||||
print(object.get_class())
|
||||
object.free()
|
||||
Reference in New Issue
Block a user