@@ -68,14 +68,14 @@ class Compiler {
6868 new ExplicitSelf , // Make references to non-trivial self types explicit as casts
6969 new ShortcutImplicits , // Allow implicit functions without creating closures
7070 new CrossCastAnd , // Normalize selections involving intersection types.
71- new Splitter ), // Expand selections involving union types into conditionals
71+ new Splitter , // Expand selections involving union types into conditionals
72+ new ElimByName ), // Expand by-name parameter references
7273 List (new PhantomArgLift , // Extracts the evaluation of phantom arguments placing them before the call.
7374 new VCInlineMethods , // Inlines calls to value class methods
7475 new SeqLiterals , // Express vararg arguments as arrays
7576 new InterceptedMethods , // Special handling of `==`, `|=`, `getClass` methods
7677 new Getters , // Replace non-private vals and vars with getter defs (fields are added later)
77- new ElimByName ), // Expand by-name parameter references
78- List (new SpecializeFunctions , // Specialized Function{0,1,2} by replacing super with specialized super
78+ new SpecializeFunctions , // Specialized Function{0,1,2} by replacing super with specialized super
7979 new ElimOuterSelect , // Expand outer selections
8080 new AugmentScala2Traits , // Expand traits defined in Scala 2.x to simulate old-style rewritings
8181 new ResolveSuper , // Implement super accessors and add forwarders to trait methods
0 commit comments