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

Scaladoc: Fix double implicit modifier #13909

Merged
merged 2 commits into from
Nov 12, 2021

Conversation

pikinier20
Copy link
Contributor

closes #13869

It seems that compiler now adds Implicit flag to both desugarized method and class. (Before only method was implicit)

@@ -100,7 +100,7 @@ object SymOps:
Flags.Case -> Modifier.Case,
).collect {
case (flag, mod) if sym.flags.is(flag) => mod
} ++ Seq(Modifier.Implicit).filter(_ => sym.isImplicitClass)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is isImplicitClass used anywhere else?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's used in InkuireSupport :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, can that be rewritten as well now?

@julienrf
Copy link
Contributor

julienrf commented Nov 8, 2021

Would it be possible to cover this with tests?

@pikinier20
Copy link
Contributor Author

Would it be possible to cover this with tests?

Added

Copy link
Contributor

@BarkingBad BarkingBad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

obraz

Looks good now

@pikinier20 pikinier20 merged commit 4025951 into scala:master Nov 12, 2021
@pikinier20 pikinier20 deleted the scaladoc/too-implicit-classes branch November 12, 2021 13:55
@Kordyjan Kordyjan added this to the 3.1.2 milestone Aug 2, 2023
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.

Scaladoc: Some implicit classes are too implicit
5 participants