diff --git a/tests/Parser.test.cpp b/tests/Parser.test.cpp index d01a4279..d81989da 100644 --- a/tests/Parser.test.cpp +++ b/tests/Parser.test.cpp @@ -943,7 +943,7 @@ TEST_CASE_FIXTURE(Fixture, "parse_interpolated_string_without_end_brace") { ScopedFastFlag sff{"LuauInterpolatedStringBaseSupport", true}; - auto columnOfEndBraceError = [=](const char* code) + auto columnOfEndBraceError = [this](const char* code) { try {