Skip to content

Commit 7bc206f

Browse files
author
John Holdsworth
committed
Revert another minor change.
1 parent 74bdfc6 commit 7bc206f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftParser/Lexer/UnicodeScalarExtensions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ extension Unicode.Scalar {
9696
var isOperatorStartCodePoint: Bool {
9797
// ASCII operator chars.
9898
if self.value < 0x80 {
99-
switch self {
99+
switch UInt8(self.value) {
100100
case "/", "=", "-", "+", "*", "%", "<",
101101
">", "!", "&", "|", "^", "~", ".", "?":
102102
return true

0 commit comments

Comments
 (0)