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

ES6 generator shortcut notation breaks #704

Closed
Verdier opened this issue Jun 2, 2015 · 3 comments
Closed

ES6 generator shortcut notation breaks #704

Verdier opened this issue Jun 2, 2015 · 3 comments

Comments

@Verdier
Copy link

Verdier commented Jun 2, 2015

The following:

let a = {
 *gen() {
  }
}

result in:

let a = { * gen() {

    }
};

and:

let a = {
    notGen() {

    },
    * gen() {

    }
};

result in:

let a = {
    notGen() {

        },
        * gen() {

        }
};
@bitwiseman bitwiseman added this to the v1.6.0 milestone Jun 2, 2015
@bitwiseman
Copy link
Member

@Verdier - I'm sorry this will not make it into this release.
While this is not beautiful, it is also not a syntax error.

@bitwiseman bitwiseman removed this from the v2.0.0 milestone Aug 24, 2018
@bitwiseman
Copy link
Member

#941

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

No branches or pull requests

2 participants