File tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ class Compiler {
60
60
protected def transformPhases : List [List [Phase ]] =
61
61
List (new FirstTransform , // Some transformations to put trees into a canonical form
62
62
new CheckReentrant , // Internal use only: Check that compiled program has no data races involving global vars
63
- new ProtectedAccessors , // Add accessors for protected members
64
63
new ElimPackagePrefixes ) :: // Eliminate references to package prefixes in Select nodes
65
64
List (new CheckStatic , // Check restrictions that apply to @static members
66
65
new ElimRepeated , // Rewrite vararg parameters and arguments
67
66
new NormalizeFlags , // Rewrite some definition flags
68
- new ExtensionMethods , // Expand methods of value classes with extension methods
69
67
new ExpandSAMs , // Expand single abstract method closures to anonymous classes
68
+ new ProtectedAccessors , // Add accessors for protected members
69
+ new ExtensionMethods , // Expand methods of value classes with extension methods
70
70
new ShortcutImplicits , // Allow implicit functions without creating closures
71
71
new TailRec , // Rewrite tail recursion to loops
72
72
new ByNameClosures , // Expand arguments to by-name parameters to closures
You can’t perform that action at this time.
0 commit comments