From 72298533729ce44aeb29a0b729339be0f8e9e861 Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Thu, 28 Jul 2022 17:30:38 -0700 Subject: [PATCH] Remove interpolated string FFlag check --- VM/src/lstrlib.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/VM/src/lstrlib.cpp b/VM/src/lstrlib.cpp index 20937727..1708d30c 100644 --- a/VM/src/lstrlib.cpp +++ b/VM/src/lstrlib.cpp @@ -8,7 +8,6 @@ #include #include -LUAU_FASTFLAG(LuauInterpolatedStringBaseSupport) LUAU_FASTFLAGVARIABLE(LuauTostringFormatSpecifier, false); /* macro to `unsign' a character */ @@ -1039,12 +1038,6 @@ static int str_format(lua_State* L) { if (!FFlag::LuauTostringFormatSpecifier) { - if (FFlag::LuauInterpolatedStringBaseSupport) - { - luaL_error(L, "interpolated strings are enabled, but the '*' format specifier is not. this is a configuration bug."); - break; - } - luaL_error(L, "invalid option '%%*' to 'format'"); break; }