Wrong assertion in 'getbaseline'
The assertion cannot compute 'f->abslineinfo[i]' when the initial estimate 'i' is -1.
This commit is contained in:
@@ -420,6 +420,14 @@ if not b then
|
||||
end
|
||||
end]], 5)
|
||||
|
||||
do
|
||||
-- Force a negative estimate for base line. Error in instruction 2
|
||||
-- (after VARARGPREP, GETGLOBAL), with first absolute line information
|
||||
-- (forced by too many lines) in instruction 0.
|
||||
local s = string.format("%s return __A.x", string.rep("\n", 300))
|
||||
lineerror(s, 301)
|
||||
end
|
||||
|
||||
|
||||
if not _soft then
|
||||
-- several tests that exaust the Lua stack
|
||||
|
||||
Reference in New Issue
Block a user