mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
FFlag off
This commit is contained in:
parent
c770cac964
commit
dadbd4cd47
2 changed files with 6 additions and 1 deletions
|
@ -26,7 +26,7 @@ LUAU_DYNAMIC_FASTFLAGVARIABLE(LuaReportParseIntegerIssues, false)
|
||||||
|
|
||||||
LUAU_FASTFLAGVARIABLE(LuauAlwaysCaptureHotComments, false)
|
LUAU_FASTFLAGVARIABLE(LuauAlwaysCaptureHotComments, false)
|
||||||
|
|
||||||
LUAU_FASTFLAGVARIABLE(LuauInterpolatedStringBaseSupport, true)
|
LUAU_FASTFLAGVARIABLE(LuauInterpolatedStringBaseSupport, false)
|
||||||
|
|
||||||
bool lua_telemetry_parsed_out_of_range_bin_integer = false;
|
bool lua_telemetry_parsed_out_of_range_bin_integer = false;
|
||||||
bool lua_telemetry_parsed_out_of_range_hex_integer = false;
|
bool lua_telemetry_parsed_out_of_range_hex_integer = false;
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
#include "Luau/VisitTypeVar.h"
|
#include "Luau/VisitTypeVar.h"
|
||||||
|
|
||||||
#include "Fixture.h"
|
#include "Fixture.h"
|
||||||
|
#include "ScopedFlags.h"
|
||||||
|
|
||||||
#include "doctest.h"
|
#include "doctest.h"
|
||||||
|
|
||||||
|
@ -815,6 +816,8 @@ end
|
||||||
|
|
||||||
TEST_CASE_FIXTURE(Fixture, "tc_interpolated_string_basic")
|
TEST_CASE_FIXTURE(Fixture, "tc_interpolated_string_basic")
|
||||||
{
|
{
|
||||||
|
ScopedFastFlag sff{"LuauInterpolatedStringBaseSupport", true};
|
||||||
|
|
||||||
CheckResult result = check(R"(
|
CheckResult result = check(R"(
|
||||||
local foo: string = `hello {"world"}`
|
local foo: string = `hello {"world"}`
|
||||||
)");
|
)");
|
||||||
|
@ -824,6 +827,8 @@ TEST_CASE_FIXTURE(Fixture, "tc_interpolated_string_basic")
|
||||||
|
|
||||||
TEST_CASE_FIXTURE(Fixture, "tc_interpolated_string_with_invalid_expression")
|
TEST_CASE_FIXTURE(Fixture, "tc_interpolated_string_with_invalid_expression")
|
||||||
{
|
{
|
||||||
|
ScopedFastFlag sff{"LuauInterpolatedStringBaseSupport", true};
|
||||||
|
|
||||||
CheckResult result = check(R"(
|
CheckResult result = check(R"(
|
||||||
local function f(x: number) end
|
local function f(x: number) end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue