Skip to content

fix: bump golang.org/x/tools to v0.49.0 version for Go 1.27 support - #230

Merged
jmattheis merged 5 commits into
jmattheis:mainfrom
daniil388:main
Aug 25, 2026
Merged

fix: bump golang.org/x/tools to v0.49.0 version for Go 1.27 support#230
jmattheis merged 5 commits into
jmattheis:mainfrom
daniil388:main

Conversation

@daniil388

Copy link
Copy Markdown

FIX: #229

Problem

goverter fails under Go 1.27 while parsing code.

Go 1.27 emits type export data in the new pkgbits V3/V4 format (golang/go#78242). golang.org/x/tools v0.31.0 — the version currently pinned in go.mod — cannot read that format, so go/packages hands back packages without type information.

Also, the latest golang.org/x/tools version contains Go 1.25.0 in go.mod, so the version in this package has been bumped, too.

A similar class of problems has been resolved before: #186

Actions

I've run go get -u golang.org/x/tools && go mod tidy

@codecov

codecov Bot commented Aug 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.33%. Comparing base (8ee6711) to head (a17c807).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #230      +/-   ##
==========================================
+ Coverage   95.96%   97.33%   +1.36%     
==========================================
  Files          50       50              
  Lines        2754     2328     -426     
==========================================
- Hits         2643     2266     -377     
+ Misses         80       62      -18     
+ Partials       31        0      -31     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jmattheis jmattheis left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jmattheis
jmattheis merged commit 1fc02ae into jmattheis:main Aug 25, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Golang 1.27 and package imported without types

2 participants