diff --git a/tests/Autocomplete.test.cpp b/tests/Autocomplete.test.cpp index 44482c68..82e5c252 100644 --- a/tests/Autocomplete.test.cpp +++ b/tests/Autocomplete.test.cpp @@ -3820,10 +3820,14 @@ TEST_CASE_FIXTURE(ACFixture, "autocomplete_response_perf1" * doctest::timeout(0. 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}; ScopedFastInt luauTypeInferRecursionLimit{FInt::LuauTypeInferRecursionLimit, 10}; - const int parts = 60; + const int parts = 100; std::string source; source += "function f()\n";