Skip to content

all: modernize#5498

Merged
deadprogram merged 22 commits into
tinygo-org:devfrom
jakebailey:modernize
Jul 6, 2026
Merged

all: modernize#5498
deadprogram merged 22 commits into
tinygo-org:devfrom
jakebailey:modernize

Conversation

@jakebailey

@jakebailey jakebailey commented Jul 5, 2026

Copy link
Copy Markdown
Member

This runs https://pkg.go.dev/golang.org/x/tools@v0.47.0/go/analysis/passes/modernize on the repo, applying quite a few fixes.

I started because I noticed a path := path in some code I was touching, then just decided to run the full suite.

(A future version of go will have this builtin as go fix.)

@eliasnaur eliasnaur left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for doing this. Feel free to ignore the few nits below.

Comment thread compileopts/options.go Outdated
Comment thread compiler/interface.go Outdated
Comment thread compiler/interface.go
Comment thread compiler/symbol.go Outdated
Comment thread src/internal/cm/case.go

@aykevl aykevl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you so much for doing this!

@deadprogram

Copy link
Copy Markdown
Member

Thanks for working on this one @jakebailey and to @eliasnaur and @aykevl for review. Now squash/merging.

@deadprogram deadprogram merged commit 7c3dc05 into tinygo-org:dev Jul 6, 2026
20 checks passed
@jakebailey jakebailey deleted the modernize branch July 6, 2026 19:59
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.

4 participants