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 @@ -250,7 +250,7 @@ object Completion:
250250 // https://github.com/scalameta/metals/blob/main/mtags/src/main/scala/scala/meta/internal/mtags/KeywordWrapper.scala
251251 // https://github.com/com-lihaoyi/Ammonite/blob/73a874173cd337f953a3edc9fb8cb96556638fdd/amm/util/src/main/scala/ammonite/util/Model.scala
252252 private def needsBacktick (s : String ) =
253- val chunks = s.split(" _" , - 1 )
253+ val chunks = s.split(" _" , - 1 ).nn
254254
255255 val validChunks = chunks.zipWithIndex.forall { case (chunk, index) =>
256256 chunk.nn.forall(Chars .isIdentifierPart) ||
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ case class ScalaPresentationCompiler(
6060 val scalaVersion = BuildInfo .scalaVersion
6161
6262 private val forbiddenOptions = Set (" -print-lines" , " -print-tasty" )
63- private val forbiddenDoubleOptions = Set ( " -release " )
63+ private val forbiddenDoubleOptions = Set .empty[ String ]
6464
6565 given ReportContext =
6666 folderPath
You can’t perform that action at this time.
0 commit comments