local B=require(script.Parent.fmtArgs)return function(n,x)if n.n~=x.n then local c="\110\117\109\098\101\114 \111\102 \108\105\116\101\114\097\108\115 \105\110 "..(B(n)..(" \100\111\101\115 \110\111\116 \109\097\116\099\104 \110\117\109\098\101\114 \111\102 \097\114\103\115 \105\110 "..B(x)))return false,c end for c=1,n.n,1 do if n[c]~=x[c]then local c="\101\120\112\101\099\116\101\100 "..(B(n)..("\044 \103\111\116 "..B(x)))return false,c end end return true end

local fmtArgs = require(script.Parent.fmtArgs)

return function(e, a)
	if e.n ~= a.n then
		local msg = "number of literals in " .. fmtArgs(e) .. " does not match number of args in " .. fmtArgs(a)
		return false, msg
	end

	for i = 1, e.n do
		if e[i] ~= a[i] then
			local msg = "expected " .. fmtArgs(e) .. ", got " .. fmtArgs(a)
			return false, msg
		end
	end
	return true
end
