summaryrefslogtreecommitdiff
path: root/test-beta/references
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta/references')
-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?>