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

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

Issue 10545028: Issue 3182. When TypeNode element found, but it is not Type, report only this error (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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/ResolverTest.java
diff --git a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
index 89860128c3698db3cb823aa0463752a859905fa1..5ba837935920e617bd9c7473689d9652805370b4 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -712,8 +712,7 @@ public class ResolverTest extends ResolverTestCase {
" var Bar;",
" create() { return new Bar();}",
"}"),
- TypeErrorCode.NOT_A_TYPE,
- ResolverErrorCode.NO_SUCH_TYPE,
+ ResolverErrorCode.NOT_A_TYPE,
ResolverErrorCode.NEW_EXPRESSION_NOT_CONSTRUCTOR);
}
@@ -1039,8 +1038,7 @@ public class ResolverTest extends ResolverTestCase {
" }",
"}"),
ResolverErrorCode.DUPLICATE_LOCAL_VARIABLE_WARNING,
- TypeErrorCode.NOT_A_TYPE,
- ResolverErrorCode.NO_SUCH_TYPE);
+ ResolverErrorCode.NOT_A_TYPE);
}
public void test_operatorIs_withFunctionAlias() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698