Skip to content

Commit 326c20f

Browse files
author
Oron Port
committed
update scalac to 3.7.4-RC1 and fix change in compiler settings from Xfatalwarnings to Werror
1 parent cc2fe64 commit 326c20f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ commands += DFHDLCommands.docExamplesRefUpdate
55

66
// format: off
77
val projectName = "dfhdl"
8-
val compilerVersion = "3.7.3"
8+
val compilerVersion = "3.7.4-RC1"
99

1010
inThisBuild(
1111
List(

plugin/src/main/scala/plugin/TopAnnotPhase.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class TopAnnotPhase(setting: Setting) extends CommonPhase:
137137
mkList(paramVDs.map(vd =>
138138
Literal(Constant(vd.symbol.docString.getOrElse("")))
139139
))
140-
val Werror = Literal(Constant(ctx.settings.XfatalWarnings.value))
140+
val Werror = Literal(Constant(ctx.settings.Werror.value))
141141
val hasResourceOwnerTree =
142142
Literal(Constant(clsSym.hasNestedMemberCond(_ <:< resourceOwnerTpe)))
143143
def portCond(tpe: Type): Boolean =

0 commit comments

Comments
 (0)