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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.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/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
index a05fe431b9dbca80dd2c46856fa1064fdc45a653..c84b61afdd502adbd0faa4b7ff6d61a722bdf897 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
@@ -71,7 +71,6 @@ abstract class ResolverTestCase extends TestCase {
// Run phases as in compiler.
new SupertypeResolver().exec(unit, context, scope, typeProvider);
new MemberBuilder().exec(unit, context, scope, typeProvider);
- new CompileTimeConstantResolver().exec(unit, context, typeProvider);
new Resolver(context, scope, typeProvider).exec(unit);
// TODO(zundel): One day, we want all AST nodes that are identifiers to point to
// elements if they are resolved. Uncommenting this line helps track missing elements
@@ -88,8 +87,7 @@ abstract class ResolverTestCase extends TestCase {
// Run phases as in compiler.
new SupertypeResolver().exec(unit, context, scope, typeProvider);
new MemberBuilder().exec(unit, context, scope, typeProvider);
- // Substitute the lightweight CTConst resolver
- new CompileTimeConstantResolver().exec(unit, context, scope, typeProvider);
+ new Resolver.Phase().exec(unit, context, typeProvider);
new CompileTimeConstantAnalyzer(typeProvider, context).exec(unit);
return scope;
}
« no previous file with comments | « compiler/javatests/com/google/dart/compiler/resolver/CompileTimeConstantTest.java ('k') | tests/utils/utils.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698