Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Unified Diff: compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java

Issue 10831373: Issue 4543. Use complete Resolver before constants analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
diff --git a/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java b/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
index ca900140d8bd5738b37194f346b5c5d6e4af2ce6..e8499abc79fe72f7c538271dc18479a8541fab0a 100644
--- a/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
+++ b/compiler/java/com/google/dart/compiler/DefaultCompilerConfiguration.java
@@ -56,8 +56,8 @@ public class DefaultCompilerConfiguration implements CompilerConfiguration {
@Override
public List<DartCompilationPhase> getPhases() {
List<DartCompilationPhase> phases = new ArrayList<DartCompilationPhase>();
- phases.add(new CompileTimeConstantAnalyzer.Phase());
phases.add(new Resolver.Phase());
+ phases.add(new CompileTimeConstantAnalyzer.Phase());
phases.add(new TypeAnalyzer());
return phases;
}

Powered by Google App Engine
This is Rietveld 408576698