We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92db0f6 commit dfb4e9aCopy full SHA for dfb4e9a
1 file changed
tests/tests.rs
@@ -1324,7 +1324,12 @@ fn test_inspect_stack() -> Result<()> {
1324
local function baz()
1325
return running_function()
1326
end
1327
- assert(baz() == baz)
+ if jit == nil then
1328
+ assert(baz() == baz)
1329
+ else
1330
+ -- luajit inline the "baz" function and returns the chunk itself
1331
+ assert(baz() == running_function())
1332
+ end
1333
"#,
1334
)
1335
.exec()?;
0 commit comments