Skip to content

No showerror() method for for the error type Base.Meta.ParseError. #45730

@AlexFreik

Description

@AlexFreik

It seems that devs forgot to add method for showerror() for the error type Base.Meta.ParseError.

For example, when typing 5 sin I get a nice error printing:

julia> 5 sin
ERROR: syntax: extra token "sin" after end of expression

But if I type Meta.parse("5 sin") it doesn't look so good:

julia> Meta.parse("5 sin")
ERROR: Base.Meta.ParseError("extra token \"sin\" after end of expression")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions