mirror of
https://github.com/luau-lang/luau.git
synced 2025-03-05 03:31:41 +00:00

All of our changes this week have been focused on the new type solver and the JIT. As we march toward feature parity with the old solver, we've tightened up a bunch of lingering issues with overload resolution, unsealed tables, and type normalization. We've also fixed a bunch of crashes and assertion failures in the new solver. On the JIT front, we've started work on an A64 backend, improved the IR analysis in a bunch of cases, and implemented assembly generation for the builtin functions `type()` and `typeof()`. --------- Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com> Co-authored-by: Vyacheslav Egorov <vegorov@roblox.com>
25 lines
335 B
Lua
25 lines
335 B
Lua
-- This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details
|
|
print("testing interrupts")
|
|
|
|
function foo()
|
|
for i=1,10 do end
|
|
return
|
|
end
|
|
|
|
foo()
|
|
|
|
function bar()
|
|
local i = 0
|
|
while i < 10 do
|
|
i += i + 1
|
|
end
|
|
end
|
|
|
|
bar()
|
|
|
|
function baz()
|
|
end
|
|
|
|
baz()
|
|
|
|
return "OK"
|