Skip to content

[feedback][eldritchv0.3] span error #1296

@hulto

Description

@hulto

Is your feedback related to a problem? Please describe.

>>> a = 1
>>> b = []
>>> a =+ 1
Error: Parser Error: Expect expression. Found Token { kind: Plus, span: Span { start: 3, end: 4, line: 1 } }

>>> a++
Error: Parser Error: Expect expression. Found Token { kind: Plus, span: Span { start: 2, end: 3, line: 1 } }

>>> a = 2
>>> b = []
>>> a => b
Error: Parser Error: Expect expression. Found Token { kind: Gt, span: Span { start: 3, end: 4, line: 1 } }

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshot here.

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