Skip to content

Commit fe7535f

Browse files
authored
Merge pull request #14685 from dotty-staging/mb/dotty-bench-no-postfixOps
Remove postfixOps from dotty benchmark options
2 parents 03d9ad1 + d25a615 commit fe7535f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bench/profiles/projects.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ charts:
2626

2727
scripts:
2828
dotty:
29-
- measure -feature -deprecation -unchecked -Xfatal-warnings -encoding UTF8 -language:existentials,higherKinds,implicitConversions,postfixOps -Yexplicit-nulls -with-compiler $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java)
29+
- measure -feature -deprecation -unchecked -Xfatal-warnings -encoding UTF8 -language:implicitConversions -Yexplicit-nulls -with-compiler $(find $PROG_HOME/dotty/compiler/src/dotty -name *.scala -o -name *.java)
3030

3131
re2s:
3232
- measure $(find $PROG_HOME/tests/re2s/src -name *.scala)

project/Build.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ object Build {
171171
"-unchecked",
172172
"-Xfatal-warnings",
173173
"-encoding", "UTF8",
174-
"-language:existentials,higherKinds,implicitConversions"
174+
"-language:implicitConversions"
175175
),
176176

177177
(Compile / compile / javacOptions) ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
@@ -770,6 +770,7 @@ object Build {
770770
)
771771
},
772772

773+
// Note: bench/profiles/projects.yml should be updated accordingly.
773774
Compile / scalacOptions ++= Seq("-Yexplicit-nulls"),
774775

775776
repl := (Compile / console).value,

0 commit comments

Comments
 (0)