Skip to content

Go: use typeParameters in method invocations#7937

Merged
greg-at-moderne merged 1 commit into
mainfrom
greg-go-type-param-parsing
Jun 8, 2026
Merged

Go: use typeParameters in method invocations#7937
greg-at-moderne merged 1 commit into
mainfrom
greg-go-type-param-parsing

Conversation

@greg-at-moderne

Copy link
Copy Markdown
Contributor

What's changed?

Changing how method invocations with type parameters in Go are parsed.
Fit them into J.MethodDeclaration.typeParameters like we do for other languages.

What's your motivation?

Before they would land as awkward ArrayAccess, which was print-idempotent only by accident. But it didn't make sense.

@greg-at-moderne greg-at-moderne self-assigned this Jun 8, 2026
@github-project-automation github-project-automation Bot moved this to In Progress in OpenRewrite Jun 8, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review June 8, 2026 14:04
@greg-at-moderne greg-at-moderne merged commit c3aaa1e into main Jun 8, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenRewrite Jun 8, 2026
@greg-at-moderne greg-at-moderne deleted the greg-go-type-param-parsing branch June 8, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant