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