diff --git a/tests/Linter.test.cpp b/tests/Linter.test.cpp index bf7bd756..9d59f41c 100644 --- a/tests/Linter.test.cpp +++ b/tests/Linter.test.cpp @@ -10,7 +10,7 @@ LUAU_FASTFLAG(LuauSolverV2); LUAU_FASTFLAG(LintRedundantNativeAttribute); LUAU_FASTFLAG(LuauDeprecatedAttribute); -LUAU_FASTFLAG(LuauNonReentrantGeneralization); +LUAU_FASTFLAG(LuauNonReentrantGeneralization2); using namespace Luau; @@ -1925,7 +1925,7 @@ print(foo:bar(2.0)) TEST_CASE_FIXTURE(BuiltinsFixture, "TableOperations") { // FIXME: For now this flag causes a stack overflow on Windows. - ScopedFastFlag _{FFlag::LuauNonReentrantGeneralization, false}; + ScopedFastFlag _{FFlag::LuauNonReentrantGeneralization2, false}; LintResult result = lint(R"( local t = {} diff --git a/tests/Normalize.test.cpp b/tests/Normalize.test.cpp index 65448883..5ab7ef9e 100644 --- a/tests/Normalize.test.cpp +++ b/tests/Normalize.test.cpp @@ -17,7 +17,7 @@ LUAU_FASTINT(LuauNormalizeUnionLimit) LUAU_FASTFLAG(LuauNormalizationCatchMetatableCycles) LUAU_FASTFLAG(LuauSubtypingEnableReasoningLimit) LUAU_FASTFLAG(LuauTypePackDetectCycles) -LUAU_FASTFLAG(LuauNonReentrantGeneralization) +LUAU_FASTFLAG(LuauNonReentrantGeneralization2) using namespace Luau; @@ -1207,7 +1207,7 @@ TEST_CASE_FIXTURE(BuiltinsFixture, "fuzz_propagate_normalization_failures") ScopedFastInt luauNormalizeIntersectionLimit{FInt::LuauNormalizeIntersectionLimit, 50}; ScopedFastInt luauNormalizeUnionLimit{FInt::LuauNormalizeUnionLimit, 20}; ScopedFastFlag luauSubtypingEnableReasoningLimit{FFlag::LuauSubtypingEnableReasoningLimit, true}; - ScopedFastFlag luauTurnOffNonreentrantGeneralization{FFlag::LuauNonReentrantGeneralization, false}; + ScopedFastFlag luauTurnOffNonreentrantGeneralization{FFlag::LuauNonReentrantGeneralization2, false}; CheckResult result = check(R"( function _(_,"").readu32(l0) diff --git a/tests/TypeInfer.test.cpp b/tests/TypeInfer.test.cpp index 4ffd961c..0edb68fb 100644 --- a/tests/TypeInfer.test.cpp +++ b/tests/TypeInfer.test.cpp @@ -445,7 +445,7 @@ TEST_CASE_FIXTURE(Fixture, "check_expr_recursion_limit") #endif ScopedFastInt luauRecursionLimit{FInt::LuauRecursionLimit, limit + 100}; ScopedFastInt luauCheckRecursionLimit{FInt::LuauCheckRecursionLimit, limit - 100}; - ScopedFastFlag _{FFlag::LuauNonReentrantGeneralization, false}; + ScopedFastFlag _{FFlag::LuauNonReentrantGeneralization2, false}; CheckResult result = check(R"(("foo"))" + rep(":lower()", limit));