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:
parent
59139df16e
commit
e8696f9961
25 changed files with 184 additions and 46 deletions
|
|
@ -29,6 +29,7 @@ func test():
|
|||
|
||||
const d = 1.1
|
||||
_process(d)
|
||||
@warning_ignore("unsafe_call_argument")
|
||||
print(is_equal_approx(ㄥ, PI + (d * PI)))
|
||||
|
||||
func _process(Δ: float) -> void:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue