Skip to content

Handle related errors that are out of view #1

Description

@fmdkdd

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
------------------------------------------

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions