Skip to content

Make source links obvious in refinement diagnostics #114

Description

@CatarinaGamboa

In a refinement error such as Expected: Positive(buffered) and Found: ∀buffered … Nat(buffered), the ∀buffered binder can be clicked to highlight its source. It looks like ordinary text: the existing dotted underline rule applies to .clickable, but the binder’s button does not have that class. Its tooltip shows the type rather than saying what a click does.

Give source-linked binders a persistent visual cue, such as a dotted underline or link icon, and an action label such as “Go to source.” Make the cue visible before hover and ensure clicking still reveals and highlights the source variable. The occurrences inside the predicates should either have the same source action or remain visually distinct from the clickable binder.

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