@@ -895,8 +895,8 @@ namespace ts {
895895 const enclosingLabeledStatement = node . parent . kind === SyntaxKind . LabeledStatement
896896 ? lastOrUndefined ( activeLabels )
897897 : undefined ;
898- // if do statement is wrapped in labeled statement then target labels for break/continue with or without
899- // label should be the same
898+ // if do statement is wrapped in labeled statement then target labels for break/continue with or without
899+ // label should be the same
900900 const preConditionLabel = enclosingLabeledStatement ? enclosingLabeledStatement . continueTarget : createBranchLabel ( ) ;
901901 const postDoLabel = enclosingLabeledStatement ? enclosingLabeledStatement . breakTarget : createBranchLabel ( ) ;
902902 addAntecedent ( preDoLabel , currentFlow ) ;
@@ -2291,7 +2291,7 @@ namespace ts {
22912291
22922292 function bindFunctionDeclaration ( node : FunctionDeclaration ) {
22932293 if ( ! isDeclarationFile ( file ) && ! isInAmbientContext ( node ) ) {
2294- if ( isAsyncFunctionLike ( node ) ) {
2294+ if ( isAsyncFunction ( node ) ) {
22952295 emitFlags |= NodeFlags . HasAsyncFunctions ;
22962296 }
22972297 }
@@ -2308,7 +2308,7 @@ namespace ts {
23082308
23092309 function bindFunctionExpression ( node : FunctionExpression ) {
23102310 if ( ! isDeclarationFile ( file ) && ! isInAmbientContext ( node ) ) {
2311- if ( isAsyncFunctionLike ( node ) ) {
2311+ if ( isAsyncFunction ( node ) ) {
23122312 emitFlags |= NodeFlags . HasAsyncFunctions ;
23132313 }
23142314 }
@@ -2322,7 +2322,7 @@ namespace ts {
23222322
23232323 function bindPropertyOrMethodOrAccessor ( node : Declaration , symbolFlags : SymbolFlags , symbolExcludes : SymbolFlags ) {
23242324 if ( ! isDeclarationFile ( file ) && ! isInAmbientContext ( node ) ) {
2325- if ( isAsyncFunctionLike ( node ) ) {
2325+ if ( isAsyncFunction ( node ) ) {
23262326 emitFlags |= NodeFlags . HasAsyncFunctions ;
23272327 }
23282328 if ( nodeIsDecorated ( node ) ) {
0 commit comments