Skip to content

bugfix: Fix wrong type in InferredType code action - #25469

Merged
zielinsky merged 1 commit into
scala:mainfrom
tgodzik:fix-java-enum
Mar 10, 2026
Merged

bugfix: Fix wrong type in InferredType code action#25469
zielinsky merged 1 commit into
scala:mainfrom
tgodzik:fix-java-enum

Conversation

@tgodzik

@tgodzik tgodzik commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

This was noticed in scalafix, which uses the same code action.

How much have your relied on LLM-based tools in this contribution?

Extensively, I let LLM do it's job, then simplified the result. I also wrote the tests beforehand.

How was the solution tested?

Automatic tests

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

LGTM!

@zielinsky
zielinsky merged commit d754d25 into scala:main Mar 10, 2026
72 of 73 checks passed
tgodzik added a commit to scala/scala3-lts that referenced this pull request Mar 24, 2026
This was noticed in scalafix, which uses the same code action.

## How much have your relied on LLM-based tools in this contribution?

Extensively, I let LLM do it's job, then simplified the result. I also
wrote the tests beforehand.

## How was the solution tested?

Automatic tests
[Cherry-picked d754d25][modified]
@WojciechMazur WojciechMazur added this to the 3.8.4 milestone Mar 31, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request Apr 1, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request Apr 1, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request May 7, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request May 7, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request May 7, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request May 7, 2026
bjaglin added a commit to bjaglin/scalafix that referenced this pull request May 7, 2026
Partially reverts 54e5cad
scala/scala3#25469

Co-authored-by: Copilot <copilot@github.com>
bjaglin added a commit to bjaglin/scalafix that referenced this pull request May 30, 2026
Partially reverts 54e5cad
scala/scala3#25469

Co-authored-by: Copilot <copilot@github.com>
bjaglin added a commit to bjaglin/scalafix that referenced this pull request Jun 1, 2026
Partially reverts 54e5cad
scala/scala3#25469

Co-authored-by: Copilot <copilot@github.com>
bjaglin added a commit to bjaglin/scalafix that referenced this pull request Jun 1, 2026
Partially reverts 54e5cad
scala/scala3#25469

Co-authored-by: Copilot <copilot@github.com>
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.

3 participants