@@ -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
72
- new SpecializeFunctions ), // Specialized Function1 by replacing super with specialized super
71
+ new Splitter ), // Expand selections involving union types into conditionals
73
72
List (new PhantomArgLift , // Extracts the evaluation of phantom arguments placing them before the call.
74
73
new VCInlineMethods , // Inlines calls to value class methods
75
74
new SeqLiterals , // Express vararg arguments as arrays
76
75
new InterceptedMethods , // Special handling of `==`, `|=`, `getClass` methods
77
76
new Getters , // Replace non-private vals and vars with getter defs (fields are added later)
78
- new ElimByName , // Expand by-name parameter references
77
+ new ElimByName ), // Expand by-name parameter references
78
+ List (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