Skip to content

[2.x] refactor: Use enum instead of scala.Enumeration in sbt.Execute.State#8788

Merged
eed3si9n merged 1 commit intosbt:developfrom
xuwei-k:Execute-State-enum
Feb 23, 2026
Merged

[2.x] refactor: Use enum instead of scala.Enumeration in sbt.Execute.State#8788
eed3si9n merged 1 commit intosbt:developfrom
xuwei-k:Execute-State-enum

Conversation

@xuwei-k
Copy link
Copy Markdown
Member

@xuwei-k xuwei-k commented Feb 23, 2026

I think this is a binary compatible change because State is private.

Comment on lines -78 to +79
private type State = State.Value
private object State extends Enumeration {
val Pending, Running, Calling, Done = Value
private enum State {
case Pending, Running, Calling, Done
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; plz add mima exclusion.

@eed3si9n eed3si9n merged commit fe1caa8 into sbt:develop Feb 23, 2026
15 checks passed
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