Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 10, 2025

Bumps golang.org/x/tools from 0.39.0 to 0.40.0.

Commits
  • 00b22d9 gopls/internal/golang: add support for variadic functions and constructors in...
  • 36bb345 go.mod: update golang.org/x dependencies
  • 748477b all: fix function name mismatch in updateBasicLitPos comment
  • ebdeef3 gopls/doc/release/v0.21.0.md: update relnotes for RC2
  • e5a0863 go/analysis/passes/modernize: disable reflecttypefor modernizer for unnamed s...
  • e2dd416 go/analysis/unitchecker: write fixed files to an archive
  • 9119255 go/analysis/passes/modernize: fix stringscut false positives
  • 880ed70 gopls/internal/golang: add util function NarrowestDeclaringPackage
  • 8e819d2 internal/refactor/inline: built-ins may affect inference
  • 61df39e go/ast/astutil: update BasicLit.ValueEnd if present
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Fixes #6251

@dependabot dependabot bot added dependencies Relates to an upstream dependency go Pull requests that update Go code labels Dec 10, 2025
@ldez ldez added the linter: update version Update version of linter label Dec 10, 2025
@dependabot dependabot bot force-pushed the dependabot/go_modules/golang.org/x/tools-0.40.0 branch 2 times, most recently from cd7f45c to 510375a Compare December 10, 2025 01:26
dependabot bot and others added 2 commits December 10, 2025 02:30
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@ldez ldez force-pushed the dependabot/go_modules/golang.org/x/tools-0.40.0 branch from 510375a to 6f2520b Compare December 10, 2025 01:30
@ldez ldez self-requested a review December 10, 2025 01:31
@ldez
Copy link
Member

ldez commented Dec 10, 2025

This update contains multiple things: bug fixes, analyzer changes, new analyzers, and impacts govet and modernize.

I don't want to add other things than bug fixes in a patch version.
But creating a minor version with only one update is a bit weird.

I need to think about that.

@ldez ldez added the blocked Need's direct action from maintainer label Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Need's direct action from maintainer dependencies Relates to an upstream dependency go Pull requests that update Go code linter: update version Update version of linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

govet(printf): interface conversion: types.Object is nil, not *types.Var

2 participants