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

Compiler error not linkified if message contains a ":" #27

Open
snej opened this issue Nov 1, 2012 · 0 comments
Open

Compiler error not linkified if message contains a ":" #27

snej opened this issue Nov 1, 2012 · 0 comments

Comments

@snej
Copy link

snej commented Nov 1, 2012

The following Go compiler error doesn't get turned into a source code link:

rest.go:255: syntax error: unexpected name, expecting semicolon or newline or }

The problem is that Go::link_errs sees that there are three : characters on the line and tries to interpret what's between the second and third :s as a column number, which doesn't work.

link_errs should probably not be counting colons like this. Instead it should use a single regex that optionally recognizes a column number if it's present.

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

No branches or pull requests

1 participant