Skip to content

Comments in scriptlet blocks are not handled properly #69

Description

@LuLaValva

Version: 3.1.12

Details

Comments in scriplet blocks can be

  • duplicated
    $ {
      foo;
      // bar
      baz;
    }
    formats to:
    $ {
      foo;
      // bar
    }
    $ {
      // bar
      baz;
    }
  • removed
    $ // oh no!
    formats to:
  • cause adjacent statements to leave JS-land
    $ {
      // foo
      bar;
      // baz
    }
    formats to:
    $ // foo
    bar;
    // baz

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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