mirror of
https://github.com/luau-lang/luau.git
synced 2025-01-19 17:28:06 +00:00
Fixed the issue
This commit is contained in:
parent
48f3c85cba
commit
45594a571d
1 changed files with 5 additions and 1 deletions
|
@ -3820,10 +3820,14 @@ TEST_CASE_FIXTURE(ACFixture, "autocomplete_response_perf1" * doctest::timeout(0.
|
||||||
|
|
||||||
TEST_CASE_FIXTURE(ACFixture, "autocomplete_subtyping_recursion_limit")
|
TEST_CASE_FIXTURE(ACFixture, "autocomplete_subtyping_recursion_limit")
|
||||||
{
|
{
|
||||||
|
// TODO: in old solver, type resolve can't handle the type in this test without a stack overflow
|
||||||
|
if (!FFlag::LuauSolverV2)
|
||||||
|
return;
|
||||||
|
|
||||||
ScopedFastFlag luauAutocompleteNewSolverLimit{FFlag::LuauAutocompleteNewSolverLimit, true};
|
ScopedFastFlag luauAutocompleteNewSolverLimit{FFlag::LuauAutocompleteNewSolverLimit, true};
|
||||||
ScopedFastInt luauTypeInferRecursionLimit{FInt::LuauTypeInferRecursionLimit, 10};
|
ScopedFastInt luauTypeInferRecursionLimit{FInt::LuauTypeInferRecursionLimit, 10};
|
||||||
|
|
||||||
const int parts = 60;
|
const int parts = 100;
|
||||||
std::string source;
|
std::string source;
|
||||||
|
|
||||||
source += "function f()\n";
|
source += "function f()\n";
|
||||||
|
|
Loading…
Reference in a new issue