As of version 0.662, typing too fast in the body of a type function can cause the solver to crash, with the message “Analysis has been cancelled by user”, making it difficult to write code quickly without the solver crashing.
This bug occurs quite rarely, but appears to happen more often the longer a type function runs.
--!strict
type function func()
for i = 1, 10000000 do
end
--spamming in this string appears to crash quite consistently
error('')
end
local _:func<>
Repro file:
analysisCancelTest.rbxl (54.8 KB)