We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21c8431 commit 166e2dfCopy full SHA for 166e2df
test/hover/init.lua
@@ -238,14 +238,14 @@ TEST [[
238
string.<?sub?>()
239
]]
240
[[
241
-function string.sub(s: string, i: integer, j?: integer)
+function string.sub(s: string|number, i: integer, j?: integer)
242
-> string
243
244
245
TEST[[
246
('xx'):<?sub?>()
247
248
-[[function string.sub(s: string, i: integer, j?: integer)
+[[function string.sub(s: string|number, i: integer, j?: integer)
249
-> string]]
250
251
TEST [[
@@ -272,7 +272,7 @@ TEST [[
272
string.<?lower?>()
273
274
275
-function string.lower(s: string)
+function string.lower(s: string|number)
276
277
278
0 commit comments