Skip to content

Commit

Permalink
Merge pull request #14685 from dotty-staging/mb/dotty-bench-no-postfi…
Browse files Browse the repository at this point in the history
…xOps

Remove postfixOps from dotty benchmark options
  • Loading branch information
smarter authored Mar 14, 2022
2 parents 03d9ad1 + d25a615 commit fe7535f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bench/profiles/projects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ charts:

scripts:
dotty:
- 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)
- 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)

re2s:
- measure $(find $PROG_HOME/tests/re2s/src -name *.scala)
Expand Down
3 changes: 2 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ object Build {
"-unchecked",
"-Xfatal-warnings",
"-encoding", "UTF8",
"-language:existentials,higherKinds,implicitConversions"
"-language:implicitConversions"
),

(Compile / compile / javacOptions) ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
Expand Down Expand Up @@ -770,6 +770,7 @@ object Build {
)
},

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

repl := (Compile / console).value,
Expand Down

0 comments on commit fe7535f

Please sign in to comment.