mirror of
https://github.com/luau-lang/luau.git
synced 2025-01-19 17:28:06 +00:00
Smaller limit under ASAN for autocomplete_subtyping_recursion_limit
This commit is contained in:
parent
0d6b70b80b
commit
66ba3608ca
1 changed files with 4 additions and 0 deletions
|
@ -3823,7 +3823,11 @@ TEST_CASE_FIXTURE(ACFixture, "autocomplete_subtyping_recursion_limit")
|
||||||
ScopedFastFlag luauAutocompleteNewSolverLimit{FFlag::LuauAutocompleteNewSolverLimit, true};
|
ScopedFastFlag luauAutocompleteNewSolverLimit{FFlag::LuauAutocompleteNewSolverLimit, true};
|
||||||
ScopedFastInt luauTypeInferRecursionLimit{FInt::LuauTypeInferRecursionLimit, 10};
|
ScopedFastInt luauTypeInferRecursionLimit{FInt::LuauTypeInferRecursionLimit, 10};
|
||||||
|
|
||||||
|
#if defined(LUAU_ENABLE_ASAN)
|
||||||
|
const int parts = 50;
|
||||||
|
#else
|
||||||
const int parts = 100;
|
const int parts = 100;
|
||||||
|
#endif
|
||||||
std::string source;
|
std::string source;
|
||||||
|
|
||||||
source += "function f()\n";
|
source += "function f()\n";
|
||||||
|
|
Loading…
Reference in a new issue