Skip to content

Conversation

@aarzilli
Copy link
Member

@aarzilli aarzilli commented Nov 4, 2025

Go 1.26 removed the 'pc' field from the _defer struct. Use the defer
wrapper function, when available to discover the line where the defer
was created. For every other case leave the field empty without
crashing.

Also disables capslock check on everything except the latest minor
version of Go (because the output can change)

Go 1.26 removed the 'pc' field from the _defer struct. Use the defer
wrapper function, when available to discover the line where the defer
was created. For every other case leave the field empty without
crashing.

Also disables capslock check on everything except the latest minor
version of Go (because the output can change)
@derekparker
Copy link
Member

That patch got reverted upstream, holding off until it lands again.

@aarzilli aarzilli marked this pull request as draft December 17, 2025 08:01
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.

2 participants