Skip to content

Conversation

@allanrenucci
Copy link
Contributor

A change I initially made as part of #4132. I decided to create a separate PR.

I changed the tests not to rely on pretty printing of singleton types and ended up refactoring the error message.

Copy link
Contributor

@OlivierBlanvillain OlivierBlanvillain left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@allanrenucci allanrenucci merged commit 59bc9c1 into scala:master Jun 4, 2018
@allanrenucci allanrenucci deleted the err-mess branch June 4, 2018 16:09
val explanation =
s"""|You have specified more parameter lists as defined in the method definition(s).
|$noParameters""".stripMargin
"You have specified more parameter lists as defined in the method definition(s)." + addendum
Copy link
Contributor

Choose a reason for hiding this comment

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

@allanrenucci s/as defined/than defined/, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Probably. I reuse the same wording as in the initial error message. Feel free to open a new PR 😄

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