Skip to content

Commit 9c2882f

Browse files
liufengyunnicolasstucki
authored andcommitted
Address review
Co-authored-by: Nicolas Stucki <[email protected]>
1 parent 32c88bc commit 9c2882f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

community-build/src/scala/dotty/communitybuild/projects.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ lazy val compilerVersion: String =
1010
val file = communitybuildDir.resolve("scala3-bootstrapped.version")
1111
new String(Files.readAllBytes(file), UTF_8)
1212

13-
lazy val isExperimentalCompiler: Boolean =
13+
lazy val compilerSupportExperimental: Boolean =
1414
compilerVersion.contains("SNAPSHOT") || compilerVersion.contains("NIGHTLY")
1515

1616
lazy val sbtPluginFilePath: String =

community-build/test/scala/dotty/communitybuild/CommunityBuildTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ class CommunityBuildTestB extends CommunityBuildTest:
116116
@Test def disciplineSpecs2 = projects.disciplineSpecs2.run()
117117
@Test def munit = projects.munit.run()
118118
@Test def perspective = projects.perspective.run()
119-
@Test def scodec = if (isExperimentalCompiler) projects.scodec.run()
119+
@Test def scodec = if (compilerSupportExperimental) projects.scodec.run()
120120
@Test def scodecBits = projects.scodecBits.run()
121121
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
122122
end CommunityBuildTestB

0 commit comments

Comments
 (0)