mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-05 03:10:54 +01:00
Smaller recursion limit for NoOpt in the failing test
This commit is contained in:
parent
b26eeacfd2
commit
63d9e3e209
1 changed files with 4 additions and 0 deletions
|
@ -1005,6 +1005,10 @@ TEST_CASE_FIXTURE(BuiltinsFixture, "table_unification_infinite_recursion")
|
||||||
{
|
{
|
||||||
ScopedFastFlag luauTableUnifyRecursionLimit{"LuauTableUnifyRecursionLimit", true};
|
ScopedFastFlag luauTableUnifyRecursionLimit{"LuauTableUnifyRecursionLimit", true};
|
||||||
|
|
||||||
|
#if defined(_NOOPT) || defined(_DEBUG)
|
||||||
|
ScopedFastInt LuauTypeInferRecursionLimit{"LuauTypeInferRecursionLimit", 100};
|
||||||
|
#endif
|
||||||
|
|
||||||
fileResolver.source["game/A"] = R"(
|
fileResolver.source["game/A"] = R"(
|
||||||
local tbl = {}
|
local tbl = {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue