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

Fatal error: Unmatched closing break #473

Closed
HassanTaleb90 opened this issue Jan 11, 2023 · 0 comments
Closed

Fatal error: Unmatched closing break #473

HassanTaleb90 opened this issue Jan 11, 2023 · 0 comments

Comments

@HassanTaleb90
Copy link
Contributor

Run swift-format on this source:

switch <#value#> {
case <#pattern#>:
	//Empty line
default:
	<#code#>
}

I get the following error:
SwiftFormatPrettyPrint/PrettyPrint.swift:350: Fatal error: Unmatched closing break

stackotter added a commit to stackotter/swift-format that referenced this issue Apr 3, 2023
allevato added a commit that referenced this issue Apr 10, 2023
Fix fatal error caused by switch cases without any statements (#473)
allevato added a commit to allevato/swift-format that referenced this issue Jun 29, 2023
Fix fatal error caused by switch cases without any statements (swiftlang#473)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant