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