Skip to content

Fatal error: Unmatched closing break #473

Closed
@HassanTaleb90

Description

@HassanTaleb90

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions