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 Swift 5.9 warnings #2072

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Fix Swift 5.9 warnings #2072

merged 1 commit into from
Jun 6, 2023

Commits on Jun 6, 2023

  1. Fix Swift 5.9 warnings

    There is now a new warning produced by these functions since the type
    and the function both declare a generic with the same name.
    
    ```
    lottie-ios/Sources/Private/CoreAnimation/Extensions/Keyframes+combined.swift:265:32: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
      func hasSameTimingParameters<T>(as other: KeyframeGroup<T>) -> Bool {
    lottie-ios/Sources/Private/Model/Keyframes/KeyframeGroup.swift:18:27: note: 'T' previously declared here
    final class KeyframeGroup<T> {
    ```
    keith committed Jun 6, 2023
    Configuration menu
    Copy the full SHA
    e642edc View commit details
    Browse the repository at this point in the history