File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1248,7 +1248,7 @@ namespace ts {
12481248 // x|(a|b) => x|a|b
12491249 // x&(a&b) => x&a&b
12501250 // x^(a^b) => x^a^b
1251- if ( isMathAssociativeOperator ( binaryOperator ) ) {
1251+ if ( operatorHasAssociativeProperty ( binaryOperator ) ) {
12521252 return false ;
12531253 }
12541254
@@ -1286,7 +1286,7 @@ namespace ts {
12861286 *
12871287 * @param binaryOperator The binary operator.
12881288 */
1289- function isMathAssociativeOperator ( binaryOperator : SyntaxKind ) {
1289+ function operatorHasAssociativeProperty ( binaryOperator : SyntaxKind ) {
12901290 // The following operators are associative in JavaScript:
12911291 // (a*b)*c -> a*(b*c) -> a*b*c
12921292 // (a|b)|c -> a|(b|c) -> a|b|c
Original file line number Diff line number Diff line change @@ -2431,7 +2431,6 @@ namespace ts {
24312431 // ES6 Spec 11.8.6.1 - Static Semantics of TV's and TRV's
24322432 // <CR><LF> and <CR> LineTerminatorSequences are normalized to <LF> for both TV and TRV.
24332433 text = text . replace ( / \r \n ? / g, "\n" ) ;
2434- //text = escapeString(text);
24352434 return createLiteral ( text , /*location*/ node ) ;
24362435 }
24372436
You can’t perform that action at this time.
0 commit comments