summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/tests/scripts/completion/argument_options/play_inferred.gd
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/tests/scripts/completion/argument_options/play_inferred.gd')
-rw-r--r--modules/gdscript/tests/scripts/completion/argument_options/play_inferred.gd5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/gdscript/tests/scripts/completion/argument_options/play_inferred.gd b/modules/gdscript/tests/scripts/completion/argument_options/play_inferred.gd
new file mode 100644
index 0000000000..abeadbe5ee
--- /dev/null
+++ b/modules/gdscript/tests/scripts/completion/argument_options/play_inferred.gd
@@ -0,0 +1,5 @@
+@onready var anim := $AnimationPlayer
+
+func test():
+ anim.play(➡)
+ pass