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

Properly format enclosing class of private access error message #18688

Conversation

nicolasstucki
Copy link
Contributor

Before, the error message showed module class XYZ$. Now it shows object XYZ.

This does not fix the issue #18686, it only improves a bit the current error message.

Before, the error message showed `module class XYZ$`. Now it shows `object XYZ`.

This does not fix the issue scala#18686, it only improves a bit the current error message.
@@ -4,6 +4,6 @@
| value getDFType is not a member of DFBits[(8 : Int)].
| Extension methods were tried, but the search failed with:
|
| method getDFType cannot be accessed as a member of DFType.type from module class i12573$package$.
| method getDFType cannot be accessed as a member of DFType.type from package object i12573$package.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

There are further improvements on this error message pending in #18406.

@sjrd sjrd enabled auto-merge October 13, 2023 07:39
@nicolasstucki
Copy link
Contributor Author

Actually, this fix is already in #18406.

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.

2 participants