Skip to content

Commit

Permalink
Fix incorrect replacement of this in parameter lists.
Browse files Browse the repository at this point in the history
When transpiling async functions, we should not replace
`this` in parameter except for arrow functions nested within
async functions.

The same problem exists for async generators, but
that will be fixed by another CL.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=240818367
  • Loading branch information
brad4d authored and tjgq committed Mar 28, 2019
1 parent 9661501 commit c28eb0c
Show file tree
Hide file tree
Showing 2 changed files with 331 additions and 106 deletions.

0 comments on commit c28eb0c

Please sign in to comment.