@@ -68,14 +68,14 @@ class Compiler {
68
68
new ExplicitSelf , // Make references to non-trivial self types explicit as casts
69
69
new ShortcutImplicits , // Allow implicit functions without creating closures
70
70
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
72
73
List (new PhantomArgLift , // Extracts the evaluation of phantom arguments placing them before the call.
73
74
new VCInlineMethods , // Inlines calls to value class methods
74
75
new SeqLiterals , // Express vararg arguments as arrays
75
76
new InterceptedMethods , // Special handling of `==`, `|=`, `getClass` methods
76
77
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
79
79
new ElimOuterSelect , // Expand outer selections
80
80
new AugmentScala2Traits , // Expand traits defined in Scala 2.x to simulate old-style rewritings
81
81
new ResolveSuper , // Implement super accessors and add forwarders to trait methods
0 commit comments