Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mte90 opened this issue Jul 18, 2024 · 1 comment
Open

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

Mte90 opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Mte90
Copy link
Member

Mte90 commented Jul 18, 2024

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".

@Ph0enixKM
Copy link
Member

This is an Heraclitus issue: https://github.com/amber-lang/heraclitus so that it keeps the position of the opening bracket

@Ph0enixKM Ph0enixKM transferred this issue from amber-lang/amber Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants