mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Disable LuauNonReentrantGeneralization
for Linter/TableOperations
This commit is contained in:
parent
b6457801c7
commit
2382ff2ae3
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
||||||
LUAU_FASTFLAG(LuauSolverV2);
|
LUAU_FASTFLAG(LuauSolverV2);
|
||||||
LUAU_FASTFLAG(LintRedundantNativeAttribute);
|
LUAU_FASTFLAG(LintRedundantNativeAttribute);
|
||||||
LUAU_FASTFLAG(LuauDeprecatedAttribute);
|
LUAU_FASTFLAG(LuauDeprecatedAttribute);
|
||||||
|
LUAU_FASTFLAG(LuauNonReentrantGeneralization);
|
||||||
|
|
||||||
using namespace Luau;
|
using namespace Luau;
|
||||||
|
|
||||||
|
@ -1923,6 +1924,9 @@ print(foo:bar(2.0))
|
||||||
|
|
||||||
TEST_CASE_FIXTURE(BuiltinsFixture, "TableOperations")
|
TEST_CASE_FIXTURE(BuiltinsFixture, "TableOperations")
|
||||||
{
|
{
|
||||||
|
// FIXME: For now this flag causes a stack overflow on Windows.
|
||||||
|
ScopedFastFlag _{FFlag::LuauNonReentrantGeneralization, false};
|
||||||
|
|
||||||
LintResult result = lint(R"(
|
LintResult result = lint(R"(
|
||||||
local t = {}
|
local t = {}
|
||||||
local tt = {}
|
local tt = {}
|
||||||
|
|
Loading…
Add table
Reference in a new issue