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