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

Unified Diff: editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/resolver/HintCodeTest.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/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});
}

Powered by Google App Engine
This is Rietveld 408576698