'-Wconversion' extended to all options of Lua numbers

This commit is contained in:
Roberto Ierusalimschy committed 2024-07-27 15:13:21 -03:00
1 parent 0acd55898d
commit f2206b2abe
8 files changed
+50 -39

No files matched your search

+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