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

Unified Diff: pkg/compiler/lib/src/dart_backend/backend.dart

Issue 1149303006: Let Backend determine support for deferred loading. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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: pkg/compiler/lib/src/dart_backend/backend.dart
diff --git a/pkg/compiler/lib/src/dart_backend/backend.dart b/pkg/compiler/lib/src/dart_backend/backend.dart
index 7ac9d670fb4ffcf288f1988053f82ef07664d2b2..3f75e35349aed80bf644b3d8305be678d017fb11 100644
--- a/pkg/compiler/lib/src/dart_backend/backend.dart
+++ b/pkg/compiler/lib/src/dart_backend/backend.dart
@@ -312,6 +312,13 @@ class DartBackend extends Backend {
}
}
+
+ @override
+ bool registerDeferredLoading(Spannable node, Registry registry) {
+ // TODO(sigurdm): Implement deferred loading for dart2dart.
+ compiler.reportWarning(node, MessageKind.DEFERRED_LIBRARY_DART_2_DART);
+ return false;
+ }
}
class DartResolutionCallbacks extends ResolutionCallbacks {

Powered by Google App Engine
This is Rietveld 408576698