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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java

Issue 55023003: Issue 14653. It is compile-time error to use unresolved identifier for annotation. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
index f964ce0f5c02ec321ee6f9f60665c71cecfb35e0..f9ddc1adac03878a26d569e709f32b3fa39c2712 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/StaticWarningCodeTest.java
@@ -2320,13 +2320,6 @@ public class StaticWarningCodeTest extends ResolverTestCase {
assertErrors(source, StaticWarningCode.UNDEFINED_IDENTIFIER);
}
- public void test_undefinedIdentifier_metadata() throws Exception {
- Source source = addSource(createSource(//
- "@undefined class A {}"));
- resolve(source);
- assertErrors(source, StaticWarningCode.UNDEFINED_IDENTIFIER);
- }
-
public void test_undefinedIdentifier_methodInvocation() throws Exception {
Source source = addSource(createSource(//
"f() { C.m(); }"));

Powered by Google App Engine
This is Rietveld 408576698