Skip to content

BasicFormat doesn't add spaces between attributes #1504

Closed
@stevapple

Description

@stevapple

Description

When using AttributeListBuilder, the build result (formatted by BasicFormat) doesn't have spaces between each attributes, which is ill-formed in Swift.

Steps to Reproduce

let builder = AttributeListSyntax {
  AttributeSyntax("@inlinable")
  AttributeSyntax("@discardableResult")
}
print(builder) // @inlinable@discardableResult

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions