diff options
Diffstat (limited to 'server/test/definition/emmy.lua')
-rw-r--r-- | server/test/definition/emmy.lua | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/server/test/definition/emmy.lua b/server/test/definition/emmy.lua index 8b6e8036..a98f334f 100644 --- a/server/test/definition/emmy.lua +++ b/server/test/definition/emmy.lua @@ -11,10 +11,21 @@ TEST [[ TEST [[ ---@class A local mt = {} -function mt:<?cast?>() +function mt:<!cast!>() end ---@type A local obj -obj:<!cast!>() +obj:<?cast?>() ]] + +--TEST [[ +-----@class A +--local <!mt!> = {} +--function mt:cast() +--end +-- +-----@type A +--local obj +--<?obj?>:cast() +--]] |