| Index: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/HintCodeTest.java
|
| diff --git a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/HintCodeTest.java b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/HintCodeTest.java
|
| index eb42bc85f0709946ee68ffeeb2c9573b1c7564ef..4c7908f4ee0089da06e3151f86219c653f69ad7c 100644
|
| --- a/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/HintCodeTest.java
|
| +++ b/editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/HintCodeTest.java
|
| @@ -17,7 +17,6 @@ import com.google.dart.engine.error.ErrorCode;
|
| import com.google.dart.engine.error.HintCode;
|
| import com.google.dart.engine.error.StaticTypeWarningCode;
|
| import com.google.dart.engine.error.StaticWarningCode;
|
| -import com.google.dart.engine.parser.ParserErrorCode;
|
| import com.google.dart.engine.source.Source;
|
|
|
| public class HintCodeTest extends ResolverTestCase {
|
| @@ -828,7 +827,7 @@ public class HintCodeTest extends ResolverTestCase {
|
| }
|
|
|
| public void test_importDeferredLibraryWithLoadFunction() throws Exception {
|
| - resolveWithAndWithoutExperimental(
|
| + resolve(
|
| new String[] {createSource(//
|
| "library lib1;",
|
| "loadLibrary() {}",
|
| @@ -837,7 +836,6 @@ public class HintCodeTest extends ResolverTestCase {
|
| "library root;",
|
| "import 'lib1.dart' deferred as lib1;",
|
| "main() { lib1.f(); }")},
|
| - new ErrorCode[] {ParserErrorCode.DEFERRED_IMPORTS_NOT_SUPPORTED},
|
| new ErrorCode[] {HintCode.IMPORT_DEFERRED_LIBRARY_WITH_LOAD_FUNCTION});
|
| }
|
|
|
|
|