File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed
effekt/shared/src/main/scala/effekt/util Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ lazy val noPublishSettings = Seq(
20
20
)
21
21
22
22
lazy val commonSettings = Seq (
23
- scalaVersion := " 3.3.1 " ,
23
+ scalaVersion := " 3.3.6 " ,
24
24
semanticdbEnabled := true ,
25
25
scalacOptions ++= Seq (
26
26
" -encoding" , " utf8" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ case class MarkdownSource(source: Source) extends Source {
33
33
// we map non-code lines to empty lines to preserve line numbers
34
34
source.content.linesIterator.foreach {
35
35
case fenceLine(lang, ots) =>
36
- val opts = if (ots != null ) { ots.tail. split(" :" ).toList } else { Nil }
36
+ val opts = if (ots != null ) { ots.split(" :" ).tail .toList } else { Nil }
37
37
if (opts.contains(" ignore" )) {
38
38
fenceType = Some (Ignore )
39
39
lines += " "
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package util
3
3
4
4
import scala .deriving .*
5
5
import scala .compiletime .*
6
+ import scala .annotation .nowarn
6
7
7
8
8
9
// TODO we need to get rid of spurious pipes:
@@ -21,6 +22,7 @@ import scala.compiletime.*
21
22
// |
22
23
trait Docs [A ] { def show (indentation : String , depth : Int ): String }
23
24
25
+ @ nowarn(" msg=New anonymous class definition will be duplicated at each inline" )
24
26
object Docs {
25
27
26
28
inline def summonAll [T <: Tuple ]: List [Docs [_]] =
You can’t perform that action at this time.
0 commit comments