File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
tests/cases/unittests/services Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -692,7 +692,6 @@ module ts {
692
692
InMultiLineCommentTrivia ,
693
693
InSingleQuoteStringLiteral ,
694
694
InDoubleQuoteStringLiteral ,
695
- EndingWithDotToken ,
696
695
}
697
696
698
697
export enum TokenClass {
@@ -3502,9 +3501,6 @@ module ts {
3502
3501
text = "/*\n" + text ;
3503
3502
offset = 3 ;
3504
3503
break ;
3505
- case EndOfLineState . EndingWithDotToken :
3506
- lastToken = SyntaxKind . DotToken ;
3507
- break ;
3508
3504
}
3509
3505
3510
3506
var result : ClassificationResult = {
@@ -3572,9 +3568,6 @@ module ts {
3572
3568
: EndOfLineState . InSingleQuoteStringLiteral ;
3573
3569
}
3574
3570
}
3575
- else if ( token === SyntaxKind . DotToken ) {
3576
- result . finalLexState = EndOfLineState . EndingWithDotToken ;
3577
- }
3578
3571
}
3579
3572
}
3580
3573
Original file line number Diff line number Diff line change @@ -170,8 +170,8 @@ describe('Colorization', function () {
170
170
171
171
it ( "classifies keyword after a dot on previous line" , function ( ) {
172
172
test ( "var" ,
173
- ts . EndOfLineState . EndingWithDotToken ,
174
- identifier ( "var" ) ,
173
+ ts . EndOfLineState . Start ,
174
+ keyword ( "var" ) ,
175
175
finalEndOfLineState ( ts . EndOfLineState . Start ) ) ;
176
176
} ) ;
177
177
} ) ;
You can’t perform that action at this time.
0 commit comments