@@ -65,7 +65,6 @@ class Compiler {
65
65
new CheckReentrant , // Internal use only: Check that compiled program has no data races involving global vars
66
66
new ElimPackagePrefixes , // Eliminate references to package prefixes in Select nodes
67
67
new CookComments , // Cook the comments: expand variables, doc, etc.
68
- new CheckStatic , // Check restrictions that apply to @static members
69
68
new CheckLoopingImplicits , // Check that implicit defs do not call themselves in an infinite loop
70
69
new BetaReduce , // Reduce closure applications
71
70
new InlineVals , // Check right hand-sides of an `inline val`s
@@ -77,6 +76,7 @@ class Compiler {
77
76
List (new ProtectedAccessors , // Add accessors for protected members
78
77
new ExtensionMethods , // Expand methods of value classes with extension methods
79
78
new UncacheGivenAliases , // Avoid caching RHS of simple parameterless given aliases
79
+ new CheckStatic , // Check restrictions that apply to @static members
80
80
new ElimByName , // Map by-name parameters to functions
81
81
new HoistSuperArgs , // Hoist complex arguments of supercalls to enclosing scope
82
82
new ForwardDepChecks , // Check that there are no forward references to local vals
0 commit comments