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

Line numbers during execution of script languages differs from the source code #213

Closed
blackav opened this issue Jul 21, 2023 · 0 comments · Fixed by #215
Closed

Line numbers during execution of script languages differs from the source code #213

blackav opened this issue Jul 21, 2023 · 0 comments · Fixed by #215
Assignees
Labels
Milestone

Comments

@blackav
Copy link
Owner

blackav commented Jul 21, 2023

В скриптовых языках типа python, node и аналогичных при выполнении "съезжает" нумерация строк, поэтому даже синтактические ошибки отображаются со смещенными номерами.

Это происходит из-за того, что для выполнения скриптов в начало файла добавляется строка #! INTERP и затем пустая строка. В идеале, на выполнение должен попадать ровно такой же файл, который был на входе.

Это нужно сделать какой-то опцией, которая по умолчанию будет отключена, чтобы не сломать совместимость с существующими настройками исполнения.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant