Skip to content

Fix #10137: Emit a warning if generated main class conflicts #10203

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 1 commit into from
Nov 6, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Nov 6, 2020

Emit a warning if generated main class can shadow a type defined
somewhere else.

Emit a warning if generated main class can shadow a type defined
somewhere else.
@@ -0,0 +1,18 @@
object Incompat2 {
Copy link
Member

Choose a reason for hiding this comment

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

is this meant to be in this PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, it's an open issue, so we can keep it in the test set

@bishabosha bishabosha merged commit d1a5bb0 into scala:master Nov 6, 2020
@bishabosha bishabosha deleted the fix-#10137 branch November 6, 2020 12:08
@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.

3 participants