diff options
Diffstat (limited to 'test-beta/references')
-rw-r--r-- | test-beta/references/init.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-beta/references/init.lua b/test-beta/references/init.lua index 4a122b7a..3cbb5ed8 100644 --- a/test-beta/references/init.lua +++ b/test-beta/references/init.lua @@ -192,6 +192,18 @@ local t = init() t:<?add?>() ]] +TEST [[ +local t = {} +t.<?x?> = 1 +t[a.b.x] = 1 +]] + +TEST [[ +local t = {} +t.x = 1 +t[a.b.<?x?>] = 1 +]] + --TEST [[ -----@class <!Class!> -----@type <?Class?> |