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

Handle related errors that are out of view #1

Open
fmdkdd opened this issue May 14, 2018 · 0 comments
Open

Handle related errors that are out of view #1

fmdkdd opened this issue May 14, 2018 · 0 comments

Comments

@fmdkdd
Copy link
Member

fmdkdd commented May 14, 2018

If a related error is in a part of the buffer that's not currently visible, we should rather report it under the current error, alongside with the code line that triggered it. Something like this:

let z = x;
------------------------------------------
    use of moved value: `x`
let y = x;              (line 13)
    value moved here
------------------------------------------
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