diffplug / diffplug/atplug

Renaming a `.java` to `.kotlin` triggers an up-to-dateness bug

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When a `.java` class gets renamed to `.kotlin`, it seems that a new plug gets created for the `.kotlin`, then it gets deleted by removing the `.java`, and then we get stuck in a bad state.

Workaround is to delete `build/foundPlugs`

Contributor guide

Open the contributing guide

Research direction

Reproduce the rename from a `.java` class to `.kotlin` and inspect the resulting state under `build/foundPlugs`. The issue is done when the rename leaves the project up to date without creating and then deleting the new plug or requiring removal of `build/foundPlugs`.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kotlin
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.