| 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 {
|
|
|