Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • B buble
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 88
    • Issues 88
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar

Do not update/delete: Banner broadcast message test data

Do not update/delete: Notification broadcast message test data

  • username-removed-383729
  • buble
  • Issues
  • #35
Closed
Open
Issue created May 02, 2016 by username-removed-412265@aposterie

for-of transform produces wrong output when there is no space after opening bracket

Reproducible on Buble 0.6.6:

{
  "code": "for ( var i = 0, list = this.keys; i < list.length; i += 1 ) { var key = list[i];\n\n\tconsole.log(key); }",
  "map": {
    "version": 3,
    "file": null,
    "sources": [ null ],
    "sourcesContent": [
      "for ( const key of this.keys ) { console.log(key); }"
    ],
    "names": [ "const" ]
  }
}
{
  "code": "for) {  ( var i = 0, list = this.keys; i < list.length; i += 1var key = list[i];\n\n\tconsole.log(key); }",
  "map": {
    "version": 3,
    "file": null,
    "sources": [ null ],
    "sourcesContent": [
      "for (const key of this.keys) { console.log(key); }"
    ],
    "names": [ "const" ]
  }
}
Assignee
Assign to
Time tracking