Skip to content

Invalid JS: Possible to write => generator when yield is under two comprehensions #4790

@yang

Description

@yang

With the latest compiler,

=>
  for x in []
    for y in []
      yield tpl

compiles into *() => ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions