From d3eb7b1656b243848abe13503faced58db9d0581 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 24 Feb 2021 19:48:31 +0800 Subject: fix completion inside ipairs --- test/signature/init.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/signature') diff --git a/test/signature/init.lua b/test/signature/init.lua index c7b9a137..90b47636 100644 --- a/test/signature/init.lua +++ b/test/signature/init.lua @@ -203,3 +203,14 @@ function f(a: any, b: any, c: any) ]], arg = {20, 25}, } + +TEST [[ +for _ in pairs($) do +end +]] +{ + label = [[ +function pairs(t: table) +]], + arg = {16, 23}, +} -- cgit v1.2.3