Skip to content

remove scala.Enum type alias #10266

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

Merged
merged 2 commits into from
Nov 17, 2020

Conversation

bishabosha
Copy link
Member

also removed some qualified types where not specifically testing how the compiler behaves for java.lang.Enum

@bishabosha bishabosha requested a review from smarter November 10, 2020 12:46
@bishabosha bishabosha force-pushed the topic/enum-delete-scala-enum branch from dd42488 to 5834cf8 Compare November 10, 2020 12:58
@bishabosha
Copy link
Member Author

bishabosha commented Nov 10, 2020

@romanowski Hi, I'm not sure how to update the test in scala3doc-testcases/src/tests/annotations.scala the EnumAnnotation signature needs to change so it does not clash with java.lang.Enum but I'm not sure if there are any other updates required

@romanowski
Copy link
Contributor

@bishabosha those tests are self-defined (we compare source with documentation) so you can rename it freely

@bishabosha bishabosha force-pushed the topic/enum-delete-scala-enum branch from 5834cf8 to 13b8bb6 Compare November 16, 2020 13:50
@bishabosha
Copy link
Member Author

@romanowski I believe I identified the problem is that the tests do not print the fully qualified path of types in signatures, so there requires two imports to unimport java.lang.Enum, but the CI should pass now

@bishabosha
Copy link
Member Author

@smarter CI has passed

@bishabosha bishabosha merged commit 0c9b2ca into scala:master Nov 17, 2020
@bishabosha bishabosha deleted the topic/enum-delete-scala-enum branch November 17, 2020 14:15
@Kordyjan Kordyjan added this to the 3.0.0 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.

4 participants