From ca299b0289c0f79972d83c44baa29cde20ce31f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 7 Jul 2022 10:05:03 +0800 Subject: resolve #1293 operator supports `string` --- test/type_inference/init.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test') diff --git a/test/type_inference/init.lua b/test/type_inference/init.lua index 11004e23..8607625e 100644 --- a/test/type_inference/init.lua +++ b/test/type_inference/init.lua @@ -3594,3 +3594,10 @@ local t local = t.n ]] + +TEST 'string' [[ +---@class string +---@operator mod: string + +local = '' % 1 +]] -- cgit v1.2.3