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] Parser and Syntax Highlighting have problems with JavaScript template strings #405

Closed
rozek opened this issue Dec 24, 2022 · 0 comments

Comments

@rozek
Copy link
Contributor

rozek commented Dec 24, 2022

Just try

    init
      put `
        first line, e.g. with <div/>
        second line with .class
      ` after me
      def this is just a syntax error
    end

e.g., as part of a behaviour.

Within VisualStudio Code, syntax highlighting does not treat the template string as such but highlights its contents.

When parsed, line (and column?) numbers of parser errors will be computed wrong and point to a wrong position in the source code

@1cg 1cg closed this as completed Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants