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

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

Issue 10919133: Support for new 'export' directive in resolver (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweak for parsing import/export directives 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
« no previous file with comments | « compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a4d6f314d3c71a2ff83ae1c774d43956e8f3749d..a562fb04aee2ddc45d4cb791f3138bd7020de6e5 100644
--- a/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
+++ b/compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java
@@ -953,7 +953,7 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
assertErrors(errors, errEx(TypeErrorCode.NO_SUCH_TYPE, 7, 3, 10));
}
- public void xtest_newLibrarySyntax_export() throws Exception {
+ public void test_newLibrarySyntax_export() throws Exception {
appSource.setContent(
"A.dart",
makeCode(
@@ -969,7 +969,7 @@ public class IncrementalCompilation2Test extends CompilerTestCase {
"// filler filler filler filler filler filler filler filler filler filler filler",
"library test.B;",
"import 'A.dart' as libA hide TypeAC;",
- "export 'A.dart';",
+ "export 'A.dart' show TypeAA, TypeAB;",
"class TypeBA {}",
"class TypeBB {}",
"class TypeBC {}",
« no previous file with comments | « compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698