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

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

Issue 829133007: Enable enum and deferred import support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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/NonHintCodeTest.java
diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
index 6ed4e25e7a382eeb3ec37dea7915786f052cb470..5c5345e5ddeb03d5d4c72b15ef0ef40fd4d855f1 100644
--- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
+++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/NonHintCodeTest.java
@@ -14,7 +14,6 @@
package com.google.dart.engine.resolver;
import com.google.dart.engine.error.ErrorCode;
-import com.google.dart.engine.parser.ParserErrorCode;
import com.google.dart.engine.source.Source;
public class NonHintCodeTest extends ResolverTestCase {
@@ -235,16 +234,13 @@ public class NonHintCodeTest extends ResolverTestCase {
}
public void test_importDeferredLibraryWithLoadFunction() throws Exception {
- resolveWithAndWithoutExperimental(
- new String[] {createSource(//
- "library lib1;",
- "f() {}"), //
- createSource(//
- "library root;",
- "import 'lib1.dart' deferred as lib1;",
- "main() { lib1.f(); }")},
- new ErrorCode[] {ParserErrorCode.DEFERRED_IMPORTS_NOT_SUPPORTED},
- new ErrorCode[] {});
+ resolve(new String[] {createSource(//
+ "library lib1;",
+ "f() {}"), //
+ createSource(//
+ "library root;",
+ "import 'lib1.dart' deferred as lib1;",
+ "main() { lib1.f(); }")}, new ErrorCode[] {});
}
public void test_issue20904BuggyTypePromotionAtIfJoin_1() throws Exception {

Powered by Google App Engine
This is Rietveld 408576698