Skip to content

Show actual code in errors #1898

Description

@hdgarrood

Essentially, copy what purescript-psa does, and show the actual code referenced by source spans, like this:

  17  import Prelude
      ^^^^^^^^^^^^^^

The reason I'm suggesting we put this into the compiler is that currently, there's no way of sending errors through psa in psci.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions