Skip to content

Commit aa33736

Browse files
committed
Remove IntegerLiteralExprSyntax.Radix conformance to CaseIterable
There’s no good reason why you would want to iterate over all radix kinds.
1 parent a318593 commit aa33736

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Release Notes/511.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
- `SyntaxKind` removed conformance to `CaseIterable`
2020
- Description: `SyntaxKind` no longer conforms to `CaseIterable` since there is no good use case to iterate over all syntax kinds.
2121
- Pull request: https://github.com/apple/swift-syntax/pull/2292
22+
- `IntegerLiteralExprSyntax.Radix` removed conformance to `CaseIterable`
23+
- Description: `IntegerLiteralExprSyntax.Radix` no longer conforms to `CaseIterable` since there is no good use case to iterate over all radix kinds.
24+
- Pull request: https://github.com/apple/swift-syntax/pull/2292
2225

2326

2427
## Template

Sources/SwiftRefactor/IntegerLiteralUtilities.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import SwiftSyntax
1414

1515
extension IntegerLiteralExprSyntax {
16-
public enum Radix: CaseIterable {
16+
public enum Radix {
1717
case binary
1818
case octal
1919
case decimal

0 commit comments

Comments
 (0)