Skip to content

Syntax errors should output location #276

Description

@eschnett

When I try to format a piece of code with a syntax error (e.g. too many closing parentheses), then the formatter outputs the whole source code (very long) along with a stack backtrace, but doesn't point to the actual error. It would be convenient if it pointed to the error, with an error message similar to one that Julia would report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions