Skip to content

[BUG] Unclosed command literal reports the wrong line #53

@Mte90

Description

@Mte90

The biggest issue I get with Amber is that one:

unsafe $echo

echo 123
echo true

That report:

Unclosed command literal
at [unknown]:6:1


5| echo true
6|

So on long scripts find the line with the issue is a very hard job.
It should says "Unclosed command literal started on line 1".

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions