Skip to content

Rewrite some error messages to follow the style Foo expected#12874

Merged
MarcusDenker merged 2 commits intopharo-project:Pharo11from
privat:improve-faulty-parsing-error-messages
Feb 28, 2023
Merged

Rewrite some error messages to follow the style Foo expected#12874
MarcusDenker merged 2 commits intopharo-project:Pharo11from
privat:improve-faulty-parsing-error-messages

Conversation

@privat
Copy link
Contributor

@privat privat commented Feb 27, 2023

The format Foo expected (with an uppercase, no article and no verb) is used on almost all error messages. This PR changes some noncompliant ones.

Also, on | expected, varable or parameter are added, because they are also expected, and because it helps to understand the context.

Note: this PR might conflict with #12868, so merge the other before.
You might consider reviewing this one in the meantime.

Copy link
Member

@jecisc jecisc left a comment

Choose a reason for hiding this comment

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

Lgtm

@MarcusDenker MarcusDenker merged commit d86d1a0 into pharo-project:Pharo11 Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants