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

Case class must have at least one *leading* non-implicit parameter list #15382

Merged
merged 2 commits into from
Jun 6, 2022

Conversation

cgccuser
Copy link
Contributor

@cgccuser cgccuser commented Jun 5, 2022

Closes #15202. Changes the message for case classes like case class Foo(using Bar)(x: Baz) from Foo must have at least one non-implicit parameter list to must have at least one leading non-implicit parameter list.

Closes scala#15202. Changes the message for case classes like `case class Foo(using Bar)(x: Baz)` from `Foo must have at least one non-implicit parameter list` to `must have at least one leading non-implicit parameter list`.
Copy link
Contributor

@prolativ prolativ left a comment

Choose a reason for hiding this comment

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

LGTM now

@prolativ prolativ enabled auto-merge June 6, 2022 14:50
@prolativ prolativ merged commit cec9aa3 into scala:main Jun 6, 2022
@cgccuser cgccuser deleted the case-class-params-msg branch June 6, 2022 19:48
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.

misleading error for case class with leading using clause
2 participants