summaryrefslogtreecommitdiff
path: root/test/definition
diff options
context:
space:
mode:
Diffstat (limited to 'test/definition')
-rw-r--r--test/definition/luadoc.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/definition/luadoc.lua b/test/definition/luadoc.lua
index afa53227..2da10f93 100644
--- a/test/definition/luadoc.lua
+++ b/test/definition/luadoc.lua
@@ -922,4 +922,14 @@ f {
}
]]
+TEST [[
+---@class A
+local a
+a.__index = a
+
+---@class B: A
+local <!b!>
+b.<!<?__index?>!> = b
+]]
+
config.set(nil, 'Lua.type.castNumberToInteger', true)