Skip to content

[Feature]: More context in error with big span #2290

Description

@nicolaassolini-qntm

Can we get this line a bit more context, i.e. the two above it as well? Just the "pass" is maybe a bit confusing. But this is not really urgent.

Originally posted by @maximilianruesch in #2274 (comment)

This requires changing the diagnostic logic (maybe introducing a flag to show more lines or changing the number of lines that are shown when the span is big?).

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions