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