From ad72c1fdc4e8d1fb9afca2dbe10e3c425ead4786 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, 23 Jun 2021 18:06:36 +0800 Subject: fix --- test/diagnostics/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/diagnostics/init.lua') diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua index 0f15c1d6..be83ac96 100644 --- a/test/diagnostics/init.lua +++ b/test/diagnostics/init.lua @@ -1146,3 +1146,10 @@ return { ['1'] = 1, } ]] + +TEST [[ +return { + [print()] = 1, + [print()] = 1, +} +]] -- cgit v1.2.3