1
0
mirror of https://github.com/lua/lua synced 2026-06-08 15:34:49 +00:00

'-Wconversion' extended to all options of Lua numbers

This commit is contained in:
Roberto Ierusalimschy
2024-07-27 15:13:21 -03:00
parent 0acd55898d
commit f2206b2abe
8 changed files with 50 additions and 39 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ assert(string.rep('', 10) == '')
do
checkerror("too large", string.rep, 'aa', math.maxinteger);
checkerror("too large", string.rep, 'a', math.maxinteger/2, ',')
checkerror("too large", string.rep, 'a', math.maxinteger, ',')
end
-- repetitions with separator