Wrong assertion in 'getbaseline'
The assertion cannot compute 'f->abslineinfo[i]' when the initial estimate 'i' is -1.
This commit is contained in:
1 parent
e7803f7dbc
commit
f5df7f91f7
2 files changed
+12
-1
No files matched your search
@@ -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