Back to Purescript

Error/warning suggestions

guides/Error-Suggestions.md

latest1.0 KB
Original Source

Error/warning suggestions

Several of the compiler errors/warnings provide a suggestion of how to fix the issue, not only in the textual ouput of the compiler, but in the JSON output in a machine-usable format.

Supported tools

Fixable issues

Classes of issues with support for auto-fix suggestions:

  • Import warnings (e.g. remove unused imports, make import explicit)
  • Missing type annotation (top level type annotations and _)