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

7 lines
79 B
GDScript

func i_return_void() -> void:
return
func test():
var __ = i_return_void()