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 compiler error and warning introduced in Swift 5.6 #80

Merged
merged 1 commit into from
Mar 15, 2022

Conversation

JohnSundell
Copy link
Owner

  • Replace HTMLAnchorTarget.self with .current (while still maintaining backward compatibility with .self using a deprecated computed property).
  • Use per-init generic type constraints for optional EnvironmentKey.Value types rather than applying an extension-wide constraint using ExpressibleByNilLiteral.

- Replace `HTMLAnchorTarget.self` with `.current` (while still maintaining
   backward compatibility with `.self` using a deprecated computed property).
- Use per-`init` generic type constraints for optional `EnvironmentKey.Value` types
   rather than applying an extension-wide constraint using `ExpressibleByNilLiteral`.
@JohnSundell JohnSundell merged commit b358860 into master Mar 15, 2022
@JohnSundell JohnSundell deleted the swift-5.6 branch March 15, 2022 16:58
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.

1 participant