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