Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function header wrapping regression #439

Closed
Gama11 opened this issue Apr 8, 2019 · 0 comments
Closed

Function header wrapping regression #439

Gama11 opened this issue Apr 8, 2019 · 0 comments
Labels
regression wrapping Incorrect or undesirable wrapping
Milestone

Comments

@Gama11
Copy link
Member

Gama11 commented Apr 8, 2019

Seems to be a regression with the new wrapping. The max line length here is not reached:

class Main {
	override function setFunctionBreakPointsRequest(response:SetFunctionBreakpointsResponse, args:SetFunctionBreakpointsArguments) {
		foo;
	}
}

But it's now wrapped anyway:

class Main {
	override function setFunctionBreakPointsRequest(response:SetFunctionBreakpointsResponse,
			args:SetFunctionBreakpointsArguments) {
		foo;
	}
}
@Gama11 Gama11 added bug Something isn't working wrapping Incorrect or undesirable wrapping labels Apr 8, 2019
@Gama11 Gama11 added this to the 1.7.0 milestone May 7, 2019
AlexHaxe added a commit to AlexHaxe/haxe-formatter that referenced this issue May 16, 2019
@Gama11 Gama11 added regression and removed bug Something isn't working labels May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression wrapping Incorrect or undesirable wrapping
Projects
None yet
Development

No branches or pull requests

1 participant