Skip to content

make error messages prettier #23829

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

make error messages prettier #23829

wants to merge 1 commit into from

Conversation

wooster0
Copy link
Contributor

@wooster0 wooster0 commented May 8, 2025

  1. Error messages never contain periods or grave accents. Get rid of the periods and use apostrophes instead in probably the only two error messages that had them.
  2. Change T to Type. It looks like something taken from languages like Rust that by convention use single letters for type parameter names. Zig doesn't need that.

@alexrp alexrp requested a review from mlugg May 8, 2025 06:07
Copy link
Member

@mlugg mlugg left a comment

Choose a reason for hiding this comment

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

Mostly fine.

Error messages never contain periods or grave accents.
Get rid of the periods and use apostrophes instead in
probably the only two error messages that had them.
@wooster0
Copy link
Contributor Author

Looks like the CI for aarch64-linux timed out? Everything else passed so is this fine?

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