Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala: support Enums in dependency inference #19588

Merged
merged 4 commits into from
Aug 12, 2023
Merged

Scala: support Enums in dependency inference #19588

merged 4 commits into from
Aug 12, 2023

Conversation

mberndt123
Copy link
Contributor

@mberndt123 mberndt123 commented Aug 11, 2023

Dependency inference for Scala does not currently detect Enum types. This PR fixes that. The newer Scalameta release also adds support for the fewerBraces Syntax in Scala 3.3.0.

@tdyas tdyas added the category:bugfix Bug fixes for released features label Aug 11, 2023
@tdyas
Copy link
Contributor

tdyas commented Aug 12, 2023

I edited the PR description to not include questions (since it will become the commit message).

@tdyas
Copy link
Contributor

tdyas commented Aug 12, 2023

As for the question about whether to set recursive, it is usually used when an object extends another type for the reasons given in the applicable comment in the source. So no need to set it here.

@tdyas tdyas merged commit b865f15 into pantsbuild:main Aug 12, 2023
24 checks passed
@tdyas tdyas added this to the 2.17.x milestone Aug 12, 2023
tdyas pushed a commit to tdyas/pants that referenced this pull request Aug 13, 2023
Dependency inference for Scala does not currently detect Enum types.
This PR fixes that. The newer Scalameta release also adds support for
the `fewerBraces` Syntax in Scala 3.3.0.

---------

Co-authored-by: Matthias Berndt <matthias.berndt@ttmzero.com>
tdyas pushed a commit to tdyas/pants that referenced this pull request Aug 13, 2023
Dependency inference for Scala does not currently detect Enum types.
This PR fixes that. The newer Scalameta release also adds support for
the `fewerBraces` Syntax in Scala 3.3.0.

---------

Co-authored-by: Matthias Berndt <matthias.berndt@ttmzero.com>
tdyas added a commit that referenced this pull request Aug 13, 2023
…19594)

Dependency inference for Scala does not currently detect Enum types.
This PR fixes that. The newer Scalameta release also adds support for
the `fewerBraces` Syntax in Scala 3.3.0.

---------

Co-authored-by: Matthias Berndt <matthias_berndt@gmx.de>
Co-authored-by: Matthias Berndt <matthias.berndt@ttmzero.com>
tdyas added a commit that referenced this pull request Aug 13, 2023
…19593)

Dependency inference for Scala does not currently detect Enum types.
This PR fixes that. The newer Scalameta release also adds support for
the `fewerBraces` Syntax in Scala 3.3.0.

---------

Co-authored-by: Matthias Berndt <matthias_berndt@gmx.de>
Co-authored-by: Matthias Berndt <matthias.berndt@ttmzero.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants