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

Flag class file collision as error #19332

Merged
merged 3 commits into from
Oct 10, 2024

Conversation

Friendseeker
Copy link
Contributor

Fixes #19248

Copy link
Contributor

@nicolasstucki nicolasstucki left a comment

Choose a reason for hiding this comment

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

We need a test that reproduces this issue and checks that the error is emitted.

I assume that we can create the folder tests/neg/i19248 and add the files from the original example in it. With the // error tag on the line that will emit the error.

@nicolasstucki nicolasstucki self-assigned this Feb 1, 2024
@nicolasstucki nicolasstucki removed their assignment Apr 12, 2024
@Friendseeker Friendseeker force-pushed the flag-class-file-collision-error branch from deb9456 to ac05bd5 Compare October 9, 2024 20:43
@Friendseeker
Copy link
Contributor Author

Nicolas's Github status says On vacation...

@smarter Would you like to take a really quick look at this PR? This PR is small and should be light to review.

Copy link
Member

@smarter smarter left a comment

Choose a reason for hiding this comment

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

LGTM, I was hit by this just recently!

@smarter smarter merged commit a72b97a into scala:main Oct 10, 2024
28 checks passed
@Friendseeker Friendseeker deleted the flag-class-file-collision-error branch October 10, 2024 15:42
@WojciechMazur WojciechMazur added this to the 3.6.3 milestone Dec 9, 2024
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.

Class file collision is flagged as warning instead of error
4 participants