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

chore(formatting): Print Line Position in to Header #90

Merged
merged 1 commit into from
Oct 18, 2024
Merged

Conversation

notJoon
Copy link
Contributor

@notJoon notJoon commented Oct 10, 2024

Output the location along with the file name when printing the header.

At first, I thought it was unnecessary because the code lines are printed together with line numbers at the bottom, but it turned out to be harder to recognize than expected.

Before

error: simplify-slice-range
  --> slice0.gno

After

error: simplify-slice-range
  --> slice0.gno:10:6

@notJoon notJoon added the T-format Type: related with formatter label Oct 10, 2024
@notJoon notJoon merged commit d55a927 into main Oct 18, 2024
5 checks passed
@notJoon notJoon deleted the show-line-pos branch October 18, 2024 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-format Type: related with formatter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant