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:
@@ -36,6 +36,7 @@ class SayNothing extends Say:
|
||||
print("howdy, see above")
|
||||
|
||||
func say(name):
|
||||
@warning_ignore("unsafe_call_argument")
|
||||
super(name + " super'd")
|
||||
print(prefix, " say nothing... or not? ", name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user