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

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

Issue 10970024: Issue 5240. Using a non-type in a const object expression is an error, not a warning (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 5d5847bbc26adf2ceb87a4bc64f1bde869e3600e..7bed87c1ccf409a5f1905174b014030df0f44e7d 100644
--- a/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
+++ b/compiler/javatests/com/google/dart/compiler/resolver/ResolverTest.java
@@ -1371,7 +1371,7 @@ public class ResolverTest extends ResolverTestCase {
"main() {",
" const A();",
"}"),
- errEx(TypeErrorCode.NO_SUCH_TYPE_CONST, 3, 8, 1));
+ errEx(ResolverErrorCode.NO_SUCH_TYPE_CONST, 3, 8, 1));
}
public void testNoGetterOrSetter() {

Powered by Google App Engine
This is Rietveld 408576698