From c75daaabcc6fac6a804bceda94fbdc027bf10a04 Mon Sep 17 00:00:00 2001 From: Varun Saini <61795485+vrn-sn@users.noreply.github.com> Date: Sat, 16 Nov 2024 01:40:58 -0800 Subject: [PATCH] Set entry file prefix: '=' -> '@' --- CLI/Repl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLI/Repl.cpp b/CLI/Repl.cpp index 43aab4e49..3bda38f1d 100644 --- a/CLI/Repl.cpp +++ b/CLI/Repl.cpp @@ -712,7 +712,7 @@ static bool runFile(const char* name, lua_State* GL, bool repl) // new thread needs to have the globals sandboxed luaL_sandboxthread(L); - std::string chunkname = "=" + std::string(name); + std::string chunkname = "@" + std::string(name); std::string bytecode = Luau::compile(*source, copts()); int status = 0;