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

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

Issue 11280135: Issue 6836. Using undeclared identifier in static context is now warning. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 90d8486b616ffea24f0a44448200bf30aab0862c..5cddd991220378b519501e26db73f41bca22dcd6 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -1303,7 +1303,7 @@ public class ResolverTest extends ResolverTestCase {
"method() {",
" A.noField = 1;",
"}"),
- errEx(ResolverErrorCode.CANNOT_BE_RESOLVED, 3, 22, 1),
+ errEx(TypeErrorCode.CANNOT_BE_RESOLVED, 3, 22, 1),
errEx(TypeErrorCode.CANNOT_BE_RESOLVED, 6, 5, 7));
}

Powered by Google App Engine
This is Rietveld 408576698