From 548a79bc67bb481945ea53e0e7197813b46c4f5d Mon Sep 17 00:00:00 2001 From: sumneko Date: Sat, 20 Apr 2019 10:26:59 +0800 Subject: =?UTF-8?q?=E9=87=8D=E6=96=B0=E5=AE=9E=E7=8E=B0=E2=80=9C=E8=BD=AC?= =?UTF-8?q?=E5=88=B0=E5=AE=9A=E4=B9=89=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/definition/emmy.lua | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'server/test/definition/emmy.lua') 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:() +function mt:() end ---@type A local obj -obj:() +obj:() ]] + +--TEST [[ +-----@class A +--local = {} +--function mt:cast() +--end +-- +-----@type A +--local obj +--:cast() +--]] -- cgit v1.2.3