File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/compiler/transformers Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,15 +22,15 @@ namespace ts {
22
22
case SyntaxKind . BinaryExpression :
23
23
const binaryExpression = < BinaryExpression > node ;
24
24
if ( isLogicalOrCoalescingAssignmentExpression ( binaryExpression ) ) {
25
- return transformLogicalAssignmentOperator ( binaryExpression ) ;
25
+ return transformLogicalAssignment ( binaryExpression ) ;
26
26
}
27
27
// falls through
28
28
default :
29
29
return visitEachChild ( node , visitor , context ) ;
30
30
}
31
31
}
32
32
33
- function transformLogicalAssignmentOperator ( binaryExpression : AssignmentExpression < Token < LogicalOrCoalescingAssignmentOperator > > ) : VisitResult < Node > {
33
+ function transformLogicalAssignment ( binaryExpression : AssignmentExpression < Token < LogicalOrCoalescingAssignmentOperator > > ) : VisitResult < Node > {
34
34
const operator = binaryExpression . operatorToken ;
35
35
const nonAssignmentOperator = getNonAssignmentOperatorForCompoundAssignment ( operator . kind ) ;
36
36
let left = skipParentheses ( visitNode ( binaryExpression . left , visitor , isLeftHandSideExpression ) ) ;
You can’t perform that action at this time.
0 commit comments