File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2395,10 +2395,7 @@ module ts {
23952395 // the resulting expression a prefix increment operation. And in the second, it will make the resulting
23962396 // expression a prefix increment whose operand is a plus expression - (++(+x))
23972397 // The same is true of minus of course.
2398- if ( node . operator >= SyntaxKind . Identifier ) {
2399- write ( " " ) ;
2400- }
2401- else if ( node . kind === SyntaxKind . PrefixUnaryExpression && node . operand . kind === SyntaxKind . PrefixUnaryExpression ) {
2398+ if ( node . operand . kind === SyntaxKind . PrefixUnaryExpression ) {
24022399 var operand = < PrefixUnaryExpression > node . operand ;
24032400 if ( node . operator === SyntaxKind . PlusToken && ( operand . operator === SyntaxKind . PlusToken || operand . operator === SyntaxKind . PlusPlusToken ) ) {
24042401 write ( " " ) ;
You can’t perform that action at this time.
0 commit comments