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

Report java error column #2055

Merged
merged 1 commit into from May 24, 2023
Merged

Conversation

Arthurm1
Copy link
Contributor

Currently Bloop reports java errors as always being at the start of the line. Now it includes the column as well.

I think this worked at one point but maybe got lost in the move away from the Zinc fork?

I don't know why Zinc reports the column of the error in the offset field instead of the pointer field as the code assumed - maybe it's an issue with Zinc? Anyway - I don't see a problem in checking both fields.

I've tested this locally with Java code and Metals now underlines the correct error range.

@Arthurm1
Copy link
Contributor Author

bloop.dap.DebugServerSpec error - doesn't look relevant

Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

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

Thanks! This must have been missed when moving from the fork, though I thought it was added to the main fork?

@tgodzik tgodzik merged commit 9007a16 into scalacenter:main May 24, 2023
16 of 17 checks passed
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.

None yet

2 participants