-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Better error for definition followed by keyword #18752
Conversation
-- [E161] Naming Error: tests/neg/i18750.scala:11:0 -------------------------------------------------------------------- | ||
11 |object if; // error // error | ||
|^ | ||
|<error> clashes with class <error> in tests/neg/i18750.scala; the two must be defined together |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: This secondary error only on the object
happens in combination with some of these other failures. This will probably not happen often in practice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are you working more on this? (you disabled auto-merge)
Fixes #18750