* parse async do expressions * add test cases * update test fixtures * chore: add syntax-async-do-expressions * generater support * fix: do not transform async do expressions * chore: add asyncDoExpressions to missing plugin helpers * update ast types * add more test cases * throw when asyncDoExpressions is enabled but not doExpressions * avoid add parentheses for async do expressions * address review comments * chore: update parser typings
9 lines
100 B
JavaScript
9 lines
100 B
JavaScript
function iter() {
|
|
switch(1) {
|
|
default:
|
|
var x = async do {
|
|
break;
|
|
}
|
|
}
|
|
};
|