From acf5c78dcc1a72d63ff028803d9c512af500452f Mon Sep 17 00:00:00 2001 From: Kampfkarren Date: Thu, 28 Jul 2022 17:49:41 -0700 Subject: [PATCH] LUA_ASSERT in readInterpolatedStringBegin --- Ast/src/Lexer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ast/src/Lexer.cpp b/Ast/src/Lexer.cpp index 3e2f23e6..f24ff332 100644 --- a/Ast/src/Lexer.cpp +++ b/Ast/src/Lexer.cpp @@ -597,6 +597,8 @@ const Lexeme& Lexer::nextInterpolatedString() Lexeme Lexer::readInterpolatedStringBegin() { + LUAU_ASSERT(peekch() == '`'); + Position start = position(); consume();