Skip to content

Improve error message for conflicting definitions #23453

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 3 commits into from
Jul 1, 2025

Conversation

Jannyboy11
Copy link
Contributor

@Jannyboy11 Jannyboy11 commented Jun 30, 2025

Now includes the signature in the message also when emitted from the typer.

Note: other checkfiles still need fixing, but I didn't update them locally due to a bug which happens on Windows where checkfiles are written with double linefeed characters (\n\n).

@mbovel this is the PR related to #23402.

Now includes the signature in the message also when emitted from the typer.

Co-authored-by: Matthieu Bovel <[email protected]>
@Jannyboy11
Copy link
Contributor Author

I did also sign the CLA after the creation of this PR; the check should be green when it runs the next time.

@mbovel mbovel marked this pull request as draft July 1, 2025 08:47
@mbovel
Copy link
Member

mbovel commented Jul 1, 2025

@Jannyboy11: the atPhase(...){...} actually had no effect here. I replaced it with TypeErasure.transformInfo; I believe it computes what we need :)

@mbovel
Copy link
Member

mbovel commented Jul 1, 2025

(PR to be rebased when merging)

@mbovel mbovel requested a review from sjrd July 1, 2025 12:52
@mbovel mbovel marked this pull request as ready for review July 1, 2025 12:52
@mbovel mbovel enabled auto-merge (squash) July 1, 2025 13:00
@mbovel mbovel merged commit a577116 into scala:main Jul 1, 2025
25 checks passed
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