From abc856d7e8be11bf50841d7935902c51f013f390 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petri=20H=C3=A4kkinen?= Date: Fri, 10 Nov 2023 12:56:24 +0200 Subject: [PATCH] Enable LuauVectorLiterals flag for unit test --- tests/Compiler.test.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Compiler.test.cpp b/tests/Compiler.test.cpp index 0e4f24f3..4f2f7ac2 100644 --- a/tests/Compiler.test.cpp +++ b/tests/Compiler.test.cpp @@ -4496,6 +4496,8 @@ L0: RETURN R0 -1 TEST_CASE("VectorLiterals") { + ScopedFastFlag sff("LuauVectorLiterals", true); + CHECK_EQ("\n" + compileFunction("return Vector3.new(1, 2, 3)", 0, 2, true), R"( LOADK R0 K0 [1, 2, 3] RETURN R0 1