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

staticcheck: build with go1.23 #181466

Merged
merged 2 commits into from
Aug 17, 2024
Merged

staticcheck: build with go1.23 #181466

merged 2 commits into from
Aug 17, 2024

Commits on Aug 17, 2024

  1. staticcheck: build with go1.23

    Since go1.23 has been released in Homebrew and staticcheck was build with go1.22 it cannot work anymore.
    
    ```
    ➤ staticcheck .
    -: /opt/homebrew/Cellar/go/1.23.0/libexec/src/maps/iter.go:51:20: cannot range over seq (variable of type iter.Seq2[K, V]) (compile)
    -: /opt/homebrew/Cellar/go/1.23.0/libexec/src/slices/iter.go:50:17: cannot range over seq (variable of type iter.Seq[E]) (compile)
    ```
    
    Cf. dominikh/go-tools#1591
    nikaro committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    ecd772a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c293e12 View commit details
    Browse the repository at this point in the history