Skip to content

Conversation

QuietMisdreavus
Copy link
Contributor

Bug/issue #, if applicable: rdar://106666684

Summary

The Link.isAutolink property added in #110 used the newer if let binding syntax added in Swift 5.8. However, PR testing in Swift-DocC is done with Swift 5.5, causing the PR test to fail. This PR "downgrades" the syntax in the isAutolink property getter to ensure compatibility with Swift 5.5.

Dependencies

None

Testing

Ensure this branch builds with Swift 5.5, for example using the swift:5.5-focal Docker image.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • [ n/a ] Added tests
  • Ran the ./bin/test script and it succeeded
  • [ n/a ] Updated documentation if necessary

rdar://106666684
@QuietMisdreavus
Copy link
Contributor Author

@swift-ci Please test

@Kyle-Ye Kyle-Ye merged commit 36b71b3 into swiftlang:main Mar 14, 2023
@QuietMisdreavus QuietMisdreavus deleted the fix-new-syntax branch March 14, 2023 13:57
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.

3 participants