Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for newly optional return type of withDigits. #237

Merged
merged 1 commit into from Oct 7, 2020

Commits on Oct 7, 2020

  1. Fix for newly optional return type of withDigits.

    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:
    apple/swift-syntax@94fc5ae#diff-8c79a56bd4eb3d1313169ca412f5e11eL2387
    dylansturg committed Oct 7, 2020
    Configuration menu
    Copy the full SHA
    b7f6338 View commit details
    Browse the repository at this point in the history