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

Unified Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java

Issue 11366078: Report error for deprecated #library #import #source (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/end2end/inc/IncrementalCompilation2Test.java
diff --git a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
index c78d2b42397c5a523774dfe50e39915e960a2a57..fcd7d63fa6c23edc3d5cc752901afd736292bf1a 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
@@ -1583,26 +1583,6 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
compile();
assertErrors(errors);
}
-
- /**
- * Internals of Dart use "dart-ext:" import scheme, and these libraries are allowed to use
- * "native". Obsolete import syntax.
- */
- public void test_useNative_withDartExt_obsolete() throws Exception {
- appSource.setContent(
- APP,
- makeCode(
- "// filler filler filler filler filler filler filler filler filler filler filler",
- "#library('A');",
- "#import('dart-ext:test_extension');",
- "class A {",
- " static int ifNull(a, b) native 'TestExtension_IfNull';",
- "}",
- ""));
- // do compile, no errors expected
- compile();
- assertErrors(errors);
- }
/**
* <p>

Powered by Google App Engine
This is Rietveld 408576698