godot/modules/gdscript/tests/scripts/parser/warnings/narrowing_conversion.gd

6 lines
82 B
GDScript3
Raw Normal View History

func i_accept_ints_only(_i: int):
pass
func test():
i_accept_ints_only(12.345)