Skip to content

Conversation

dylansturg
Copy link
Contributor

The withDigits method was updated to return an optional, which causes this to fail to build. I think a nil value here would indicate an error in swift-format's numeric grouping that resulted in an invalid numeric literal.

withDigits was udpated in a recent swift-syntax change:
swiftlang/swift-syntax@94fc5ae#diff-8c79a56bd4eb3d1313169ca412f5e11eL2387

The `withDigits` method was updated to return an optional, which causes this to fail to build. I think a nil value here would indicate an error in swift-format's numeric grouping that resulted in an invalid numeric literal.

`withDigits` was udpated in a recent swift-syntax change:
swiftlang/swift-syntax@94fc5ae#diff-8c79a56bd4eb3d1313169ca412f5e11eL2387
@allevato allevato merged commit 9ecc5e2 into swiftlang:main Oct 7, 2020
aaditya-chandrasekhar pushed a commit to val-verde/swift-format that referenced this pull request May 20, 2021
* Set source range for symbols

* Adopt Equatable, Comparable, and Hashable in extension on SourceRange

* Refactor with sourceRange(using:) helper method

* Deprecate sourceLocation

Replace existing use of sourceLocation in DCOV extension

* Add changelog entries for swiftlang#237
@dylansturg dylansturg deleted the maybe_break_fix branch May 4, 2022 23:17
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

Successfully merging this pull request may close these issues.

2 participants