Skip to content

Make the switch over Keywords in TokenPrecedence.swift exhaustive #2072

Closed
@ahoppen

Description

@ahoppen

Fix this To Do by making the switch exhaustive. We should consider all the keywords that we add cases for and decide which token precedence they should get.

https://github.com/apple/swift-syntax/blob/2e3c42cf38defd998c87ecfe8df138f925d22736/Sources/SwiftParser/TokenPrecedence.swift#L236

Metadata

Metadata

Assignees

Labels

refactoringAn internal refactoring of the codebase

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions