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

case wrapping sometimes puts commas at the start of the line #579

Closed
Gama11 opened this issue Apr 12, 2020 · 0 comments
Closed

case wrapping sometimes puts commas at the start of the line #579

Gama11 opened this issue Apr 12, 2020 · 0 comments
Labels
regression wrapping Incorrect or undesirable wrapping

Comments

@Gama11
Copy link
Member

Gama11 commented Apr 12, 2020

With 1.9.2:

class Main {
	static function main() {
		switch (BlendMode.SUBTRACT) {
			case BlendMode.ADD, BlendMode.ALPHA, BlendMode.DARKEN, BlendMode.DIFFERENCE,
				BlendMode.ERASE, BlendMode.HARDLIGHT, BlendMode.INVERT, BlendMode.LAYER,
				BlendMode.LIGHTEN, BlendMode.MULTIPLY, BlendMode.NORMAL, BlendMode.OVERLAY,
				BlendMode.SCREEN, BlendMode.SUBTRACT, BlendMode.SHADER:
		}
	}
}

With 1.10.0:

class Main {
	static function main() {
		switch (BlendMode.SUBTRACT) {
			case BlendMode.ADD, BlendMode.ALPHA, BlendMode.DARKEN, BlendMode.DIFFERENCE
				, BlendMode.ERASE, BlendMode.HARDLIGHT, BlendMode.INVERT, BlendMode.LAYER
				, BlendMode.LIGHTEN, BlendMode.MULTIPLY, BlendMode.NORMAL, BlendMode.OVERLAY
				, BlendMode.SCREEN, BlendMode.SUBTRACT, BlendMode.SHADER:
		}
	}
}
@Gama11 Gama11 added wrapping Incorrect or undesirable wrapping regression labels Apr 12, 2020
AlexHaxe added a commit to AlexHaxe/haxe-formatter that referenced this issue Apr 12, 2020
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