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:
@@ -23,6 +23,7 @@ func test() -> void:
|
||||
typed = variant()
|
||||
inferred = variant()
|
||||
|
||||
@warning_ignore("unsafe_call_argument") # TODO: Hard vs Weak vs Unknown.
|
||||
param_weak(typed)
|
||||
param_typed(typed)
|
||||
param_inferred(typed)
|
||||
|
||||
Reference in New Issue
Block a user