Skip to content

Commit

Permalink
Move elim repeated earlier
Browse files Browse the repository at this point in the history
This is a test
  • Loading branch information
odersky committed Jan 20, 2022
1 parent aea38cf commit c3b37fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compiler/src/dotty/tools/dotc/Compiler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ class Compiler {
new CheckLoopingImplicits, // Check that implicit defs do not call themselves in an infinite loop
new BetaReduce, // Reduce closure applications
new InlineVals, // Check right hand-sides of an `inline val`s
new ExpandSAMs) :: // Expand single abstract method closures to anonymous classes
new ExpandSAMs, // Expand single abstract method closures to anonymous classes
new ElimRepeated) :: // Rewrite vararg parameters and arguments
List(new init.Checker) :: // Check initialization of objects
List(new ElimRepeated, // Rewrite vararg parameters and arguments
new ProtectedAccessors, // Add accessors for protected members
List(new ProtectedAccessors, // Add accessors for protected members
new ExtensionMethods, // Expand methods of value classes with extension methods
new UncacheGivenAliases, // Avoid caching RHS of simple parameterless given aliases
new ByNameClosures, // Expand arguments to by-name parameters to closures
Expand Down

0 comments on commit c3b37fd

Please sign in to comment.