summaryrefslogtreecommitdiff
path: root/test-beta/references/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta/references/init.lua')
-rw-r--r--test-beta/references/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua
index 6204553a..540e9fb4 100644
--- a/test-beta/references/init.lua
+++ b/test-beta/references/init.lua
@@ -233,6 +233,14 @@ a.<!b!>.c = 1
print(a.<?b?>.c)
]]
+TEST [[
+local <?f?>
+local t = {
+ <!a!> = <!f!>
+}
+print(t.<!a!>)
+]]
+
--TEST [[
-----@class <!Class!>
-----@type <?Class?>