summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/references/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index 3cbb5ed8..04ca9936 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -204,6 +204,17 @@ t.x = 1
t[a.b.<?x?>] = 1
]]
+TEST [[
+local t
+local <!f!> = t.<?f?>
+
+<!f!>()
+
+return {
+ <!f!> = <!f!>,
+}
+]]
+
--TEST [[
-----@class <!Class!>
-----@type <?Class?>