Skip to content

Binary expressions should break better #8

Description

@SpiralP

current output

do
	ent = function(sock)
		local contents =
			"ENT = {}; local ENT=ENT; " .. sock:receive(
				"*a"
			) .. "; scripted_ents.Register(ENT, '" .. who:sub(0, -5) .. "')"
	end
end

expected output

do
	ent = function(sock)
		local contents =
			"ENT = {}; local ENT=ENT; "
				.. sock:receive("*a")
				.. "; scripted_ents.Register(ENT, '"
				.. who:sub(0, -5)
				.. "')"
	end
end

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions