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.
Essentially, copy what purescript-psa does, and show the actual code referenced by source spans, like this:
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.