Skip to content

Commit b494b02

Browse files
authored
Merge pull request #103 from retronym/topic/bump-dotty
Bump scalac and dotc version
2 parents 000650e + 319a3f6 commit b494b02

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name := "compiler-benchmark"
22

33
version := "1.0-SNAPSHOT"
44

5-
def scala212 = "2.12.11"
6-
def dottyLatest = "0.22.0-RC1"
5+
def scala212 = "2.12.12"
6+
def dottyLatest = "0.25.0"
77
scalaVersion in ThisBuild := scala212
88
val JmhConfig = config("jmh")
99

compilation/src/main/dotc/scala/tools/benchmark/BenchmarkDriver.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ trait BenchmarkDriver extends BaseBenchmarkDriver {
1515
ctx.setSetting(ctx.settings.outputDir, dotty.tools.io.AbstractFile.getDirectory(tempDir.getAbsolutePath))
1616
ctx.setSetting(ctx.settings.language, List("Scala2"))
1717
ctx.setSetting(ctx.settings.YdropComments, true)
18+
ctx.setSetting(ctx.settings.silentWarnings, true)
1819
val compiler = new dotty.tools.dotc.Compiler
1920
val reporter = dotty.tools.dotc.Bench.doCompile(compiler, allArgs)
2021
assert(!reporter.hasErrors)

0 commit comments

Comments
 (0)