From ffeb9df51d7f440c004d41522990c6ebbadcc569 Mon Sep 17 00:00:00 2001 From: sumneko Date: Fri, 19 Apr 2019 17:55:08 +0800 Subject: =?UTF-8?q?=E6=9A=82=E5=AD=98=E4=B8=80=E4=B8=8B=EF=BC=9Atype?= =?UTF-8?q?=E5=85=B1=E7=94=A8=E9=80=9A=E8=BF=87merge=20value=E5=AE=9E?= =?UTF-8?q?=E7=8E=B0=EF=BC=8C=E8=BF=98=E8=A6=81=E6=A0=87=E8=AE=B0global?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/definition/emmy.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'server/test/definition') diff --git a/server/test/definition/emmy.lua b/server/test/definition/emmy.lua index 5761d312..8b6e8036 100644 --- a/server/test/definition/emmy.lua +++ b/server/test/definition/emmy.lua @@ -7,3 +7,14 @@ TEST [[ ---@class ---@type B| ]] + +TEST [[ +---@class A +local mt = {} +function mt:() +end + +---@type A +local obj +obj:() +]] -- cgit v1.2.3