Skip to content

Commit b51ae5a

Browse files
committed
Don’t classify _ as a keyword
The classification of `_` changed in SwiftSyntax to no longer be a keyword. I think that makes sense.
1 parent 7ef89a0 commit b51ae5a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Tests/SourceKitLSPTests/SemanticTokensTests.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,6 @@ final class SemanticTokensTests: XCTestCase {
402402
Token(line: 0, utf16index: 5, length: 1, kind: .identifier),
403403
Token(line: 0, utf16index: 7, length: 1, kind: .identifier),
404404
Token(line: 0, utf16index: 10, length: 3, kind: .struct, modifiers: .defaultLibrary),
405-
Token(line: 0, utf16index: 15, length: 1, kind: .keyword),
406405
Token(line: 0, utf16index: 17, length: 1, kind: .identifier),
407406
Token(line: 0, utf16index: 20, length: 6, kind: .struct, modifiers: .defaultLibrary),
408407
])

0 commit comments

Comments
 (0)