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

Array wrapping regression #466

Closed
Gama11 opened this issue May 16, 2019 · 1 comment
Closed

Array wrapping regression #466

Gama11 opened this issue May 16, 2019 · 1 comment
Labels
regression wrapping Incorrect or undesirable wrapping

Comments

@Gama11
Copy link
Member

Gama11 commented May 16, 2019

Input file

return makeTimer("vshaxe", totalTime, [
	makeTimer("display call", displayCallTime),
	makeTimer("transmission", transmissionTime),
	makeTimer("parsing", parsingTime),
	makeTimer("processing", processingTime)
]);

Broken output

return makeTimer("vshaxe", totalTime,
	[
		makeTimer("display call", displayCallTime),
		makeTimer("transmission", transmissionTime),
		makeTimer("parsing", parsingTime),
		makeTimer("processing", processingTime)
	]);
@Gama11 Gama11 added wrapping Incorrect or undesirable wrapping regression labels May 16, 2019
@Gama11 Gama11 added this to the 1.7.0 milestone May 16, 2019
@Gama11
Copy link
Member Author

Gama11 commented May 17, 2019

Another example of this from OpenFL (openfl/openfl#2186):

other = Type.createInstance(classType, [
	otherName,
	new XFLSymbolArguments(xfl, symbolItem.linkageClassName, symbolItem.timeline, symbolItem.parametersAreLocked)
]);

got turned into:

other = Type.createInstance(classType,
	[
		otherName,
		new XFLSymbolArguments(xfl, symbolItem.linkageClassName, symbolItem.timeline, symbolItem.parametersAreLocked)
	]);

AlexHaxe added a commit to AlexHaxe/haxe-formatter that referenced this issue May 20, 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

2 participants