Skip to content

Staticcheck 2023.1.4 (v0.4.4)

Compare
Choose a tag to compare
@dominikh dominikh released this 17 Aug 11:50
· 116 commits to master since this release
2023.1.4

This release adds support for Go 1.21 and fixes the following bugs:

  • Three crashes when encountering unnecessarily parenthesized statements (#1393, #1400)
  • Unnecessarily high memory usage when analyzing composite literals such as []int{1<<31: 1} (#1393)
  • A false positive in S1011 when appending to a dynamic left-hand side (#1399)
  • A crash involving generics (#1410)
  • A false positive in SA9001 involving control flow statements (#488)
  • A false positive in ST1003, complaining about the names of fuzz functions (#1420)