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

Unified Diff: compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java

Issue 12408007: Disable analyzer-test checking for string.+. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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
« no previous file with comments | « no previous file | compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 bf2ddf838b6d944e253df48654c073f0d328bddd..7de55520842844e24d237b34846de88fc316e030 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTestCase.java
@@ -209,7 +209,7 @@ abstract class ResolverTestCase extends TestCase {
ClassElement stringElement = Elements.classNamed("String");
stringType = Types.interfaceType(stringElement, Collections.<Type>emptyList());
- intElement.setType(intType);
+ stringElement.setType(stringType);
ClassElement functionElement = Elements.classNamed("Function");
functionType = Types.interfaceType(functionElement, Collections.<Type>emptyList());
@@ -223,7 +223,7 @@ abstract class ResolverTestCase extends TestCase {
ClassElement listElement = Elements.classNamed("List");
defaultListType = Types.interfaceType(listElement, Lists.<Type>newArrayList(dynamicType));
listElement.setType(defaultListType);
-
+
ClassElement typeElement = Elements.classNamed("Type");
typeType = Types.interfaceType(typeElement, Collections.<Type>emptyList());
listElement.setType(defaultListType);
« no previous file with comments | « no previous file | compiler/javatests/com/google/dart/compiler/type/TypeAnalyzerTest.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698