Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

[feature] Better Error Display #11

Description

@vurvdev

Is your feature request related to a problem? Please describe.
Depends on #10 being fixed.

Describe the solution you'd like
I'd like for error messages to be similar to Rust's errors, where the tokens are pointed out in a code block, and potentially there is a "fixed" code block right under.

E.g.

if (true) {

}

/*
	Warning:
		Redundant if statement:
			if (true)
			^^^^^^^^^ This will always run the if statement.
*/

Or an example from codespan
Example preview

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions