Skip to content

multi: Replace reflect.Ptr with reflect.Pointer.#3715

Open
jholdstock wants to merge 2 commits into
decred:masterfrom
jholdstock:ptr
Open

multi: Replace reflect.Ptr with reflect.Pointer.#3715
jholdstock wants to merge 2 commits into
decred:masterfrom
jholdstock:ptr

Conversation

@jholdstock

Copy link
Copy Markdown
Member

Opening this PR because updating the linter to 2.12 throws an error about using the old name, I think because of this and this.

The conversation about updating go.mod version has already been had in #3053 and #3054 (and many times in other places), but I'm opening this PR anyway so it can be merged at some point in the future when the update to >=1.18 eventually does happen.

go 1.18 renamed reflect.Ptr to reflect.Pointer in order to be more
consistent with the rest of the reflect package.
go 1.18 renamed reflect.Ptr to reflect.Pointer in order to be more
consistent with the rest of the reflect package.
@jholdstock jholdstock changed the title Replace reflect.Pointer with reflect.Ptr. Replace reflect.Ptr with reflect.Pointer. Jun 30, 2026

@davecgh davecgh 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.

No objections once go.mod is eventually bumped. Looks fine.

@davecgh davecgh added this to the Future Version milestone Jul 1, 2026
@davecgh davecgh changed the title Replace reflect.Ptr with reflect.Pointer. multi: Replace reflect.Ptr with reflect.Pointer. Jul 7, 2026
@davecgh davecgh added the Waiting for forced newer Go version Changes that need a newer version of Go. This is usually specific to modules. label Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Waiting for forced newer Go version Changes that need a newer version of Go. This is usually specific to modules.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants