godot/modules/gdscript/tests/scripts/analyzer/features/vararg_call.gd

7 lines
121 B
GDScript

signal ok()
@warning_ignore("return_value_discarded")
func test():
ok.connect(func(): print('ok'))
emit_signal(&'ok')