make gopls-run fails with go1.24 #1671

Closed
opened 2025-03-13 05:53:42 +00:00 by fyrchik · 3 comments
Owner
# golang.org/x/telemetry/crashmonitor
/home/dzeta/go/pkg/mod/golang.org/x/telemetry@v0.0.0-20240209200032-7b892fcb8a78/crashmonitor/crash_go123.go:13:19: cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment
``` # golang.org/x/telemetry/crashmonitor /home/dzeta/go/pkg/mod/golang.org/x/telemetry@v0.0.0-20240209200032-7b892fcb8a78/crashmonitor/crash_go123.go:13:19: cannot use debug.SetCrashOutput (value of type func(f *os.File, opts debug.CrashOptions) error) as func(*os.File) error value in assignment ```
fyrchik added the
bug
Infrastructure
labels 2025-03-13 05:53:42 +00:00
fyrchik self-assigned this 2025-03-13 05:53:51 +00:00
Author
Owner

Investigate if we can somehow ignore code blocks.
modernize have false positives, but I still want to have it enabled for other stuff.

Investigate if we can somehow ignore code blocks. `modernize` have false positives, but I still want to have it enabled for other stuff.
Author
Owner

Update to 0.18 fixes this error, but introduces linter warnings.

Update to 0.18 fixes this error, but introduces linter warnings.
fyrchik added the
internal
label 2025-03-13 07:41:22 +00:00
Author
Owner

Update to 0.17.1 seems to fix the issue.
0.18 introduces modernize linter which is yet to be discussed.

Update to 0.17.1 seems to fix the issue. 0.18 introduces `modernize` linter which is yet to be discussed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-node#1671
No description provided.