Skip to content

Nicer error messages #276

Description

@dahlia

Error messages the compiler currently prints could be nicer:

  • Colorize code that has an error (when it isatty)
  • Suggest possible solutions
  • Link to a relative docs
  • Structured error codes

Any more ideas?

We could learn many things about this topic from the Elm compiler.

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

    cmp:frontendComponent: Compiler frontend (e.g., CLI, parser, AST)typ:enhanceType: Enhancement/new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions