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

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

Issue 10826249: Issue 3084. Generate warning, not error, for 'Unknown.unknown' (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/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 28bf2800163395280569052b2f94bb16a23f2c5d..9afac469af4a9575bed9d143b901288c6b4f156b 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -1626,7 +1626,7 @@ public class ResolverTest extends ResolverTestCase {
" A.noField = 1;",
"}"),
errEx(ResolverErrorCode.CANNOT_BE_RESOLVED, 3, 22, 1),
- errEx(ResolverErrorCode.CANNOT_BE_RESOLVED, 6, 5, 7));
+ errEx(TypeErrorCode.CANNOT_BE_RESOLVED, 6, 5, 7));
}
public void test_invokeTypeAlias() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698