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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user