2 Commits

Author SHA1 Message Date
Nicolò Ribaudo
2b6acada3c
Fix _step.value access in for await (#13491) 2021-07-21 19:12:18 +02:00
Gvozd
653318b7e4 Always transform for-await in async functions. (#7446)
for-await was transformed in @babel/helper-remap-async-to-generator, which was
called by @babel/plugin-transform-async-to-generator and
@babel/plugin-proposal-async-generator-functions. This prevented for-await
statements in async functions to be transpiled if the
transform-async-to-generator plugin was't enabled.
2018-03-05 09:30:25 +01:00