Skip to content

Commit 55d2bd7

Browse files
Apply suggestions from code review
Co-authored-by: Matt Bovel <[email protected]>
1 parent 27390b5 commit 55d2bd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: compiler/src/dotty/tools/dotc/profile/JsonNameTransformer.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ object JsonNameTransformer {
3030
buf.append(name.subSequence(0, i))
3131
}
3232
buf.append(op2code(c.toInt))
33-
} else if (c <= 0x1F || c > 0x7F) {
33+
} else if (c <= 0x1F || c >= 0x7F) {
3434
if (buf eq null) {
3535
buf = new StringBuilder()
3636
buf.append(name.subSequence(0, i))

0 commit comments

Comments
 (0)