Skip to content

Binary expressions should break better #8

Open
@SpiralP

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

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