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

Line numbers in error messages #2163

Open
nano-o opened this issue Sep 11, 2022 · 1 comment
Open

Line numbers in error messages #2163

nano-o opened this issue Sep 11, 2022 · 1 comment
Labels
feature A new feature or functionality

Comments

@nano-o
Copy link

nano-o commented Sep 11, 2022

A line number would be convenient in the error message below.
In general a standard error-message format would be great (with line numbers when applicable) in order to set up my editor to jump to errors automatically (in this case vim).

PASS #1: TypeCheckerSnowcat                                       I@21:37:44.350
 > Running Snowcat .::.                                           I@21:37:44.350
Parsing error in the type annotation:  P -> [P -> Bool]           E@21:37:44.430
<unknown>: type input error: Parser error in type annotation of m2: ':' expected but -> found E@21:37:44.450
It took me 0 days  0 hours  0 min  0 sec                          I@21:37:44.451
Total time: 0.564 sec                                             I@21:37:44.451
EXITCODE: ERROR (255)
@nano-o nano-o added the feature A new feature or functionality label Sep 11, 2022
@shonfeder shonfeder added this to the X5: Error Message Overhaul milestone Sep 13, 2022
@shonfeder
Copy link
Contributor

Thank you for the report!

This relates to #955 and #943.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or functionality
Projects
None yet
Development

No branches or pull requests

2 participants