File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Staticcheck 2025.1 release notes
3
+ linkTitle : " 2025.1 (v0.6.0)"
4
+ weight : -10
5
+ ---
6
+
7
+ ## Added Go 1.24 support
8
+
9
+ This release adds support for Go 1.24.
10
+
11
+ ## Checks
12
+
13
+ ### Changed checks
14
+
15
+ The following checks have been improved:
16
+
17
+ - {{< check "U1000" >}} treats all fields in a struct as used if the struct has
18
+ a field of type ` structs.HostLayout ` .
19
+ - {{< check "S1009" >}} now emits a clearer message.
20
+ - {{< check "S1008" >}} no longer recommends simplifying branches that contain
21
+ comments ({{< issue "704" >}}, {{< issue "1488" >}}).
22
+ - {{< check "S1009" >}} now flags another redundant nil check ({{< issue "1605" >}}).
23
+ - {{< check "QF1002" >}} now emits a valid automatic fix for switches that use
24
+ initialization statements ({{< issue "1613" >}}).
You can’t perform that action at this time.
0 commit comments