We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1157db + 8348386 commit 65a86aeCopy full SHA for 65a86ae
compiler/src/dotty/tools/dotc/semanticdb/Scala3.scala
@@ -416,7 +416,7 @@ object Scala3:
416
unicodeEscape.replaceAllIn(symbol, m => String.valueOf(Integer.parseInt(m.group(1), 16).toChar).nn)
417
418
def isJavaIdent =
419
- isJavaIdentifierStart(symbol.head) && symbol.tail.forall(isJavaIdentifierPart)
+ symbol.nonEmpty && isJavaIdentifierStart(symbol.head) && symbol.tail.forall(isJavaIdentifierPart)
420
end StringOps
421
422
given InfoOps: AnyRef with
0 commit comments