Skip to content

Commit

Permalink
Localise concat
Browse files Browse the repository at this point in the history
  • Loading branch information
ccuser44 authored Nov 6, 2024
1 parent 9e89564 commit b21e5b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ local table_unpack = table.unpack
local table_create = table.create
local table_insert = table.insert
local table_remove = table.remove
local table_concat = table.concat

local coroutine_create = coroutine.create
local coroutine_yield = coroutine.yield
Expand Down Expand Up @@ -1019,7 +1020,7 @@ local function luau_load(module, env, luau_settings)
stack[inst.A] = if value then value else inst.K or false
elseif op == 49 then --[[ CONCAT ]]
local B, C = inst.B, inst.C
local success, s = pcall(table.concat, stack, "", B, C)
local success, s = pcall(table_concat, stack, "", B, C)

if not success then
str = stack[B]
Expand Down

0 comments on commit b21e5b9

Please sign in to comment.