File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/interactive
presentation-compiler/src/main/dotty/tools/pc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ object Completion:
252252 // https://github.com/scalameta/metals/blob/main/mtags/src/main/scala/scala/meta/internal/mtags/KeywordWrapper.scala
253253 // https://github.com/com-lihaoyi/Ammonite/blob/73a874173cd337f953a3edc9fb8cb96556638fdd/amm/util/src/main/scala/ammonite/util/Model.scala
254254 private def needsBacktick (s : String ) =
255- val chunks = s.split(" _" , - 1 )
255+ val chunks = s.split(" _" , - 1 ).nn
256256
257257 val validChunks = chunks.zipWithIndex.forall { case (chunk, index) =>
258258 chunk.nn.forall(Chars .isIdentifierPart) ||
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ case class ScalaPresentationCompiler(
5858 val scalaVersion = BuildInfo .scalaVersion
5959
6060 private val forbiddenOptions = Set (" -print-lines" , " -print-tasty" )
61- private val forbiddenDoubleOptions = Set ( " -release " )
61+ private val forbiddenDoubleOptions = Set .empty[ String ]
6262
6363 given ReportContext =
6464 folderPath
You can’t perform that action at this time.
0 commit comments