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

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

Issue 930143002: Remove implicit dependencies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Issues found with unit tests. Created 5 years, 10 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: dart/pkg/compiler/lib/src/dart_backend/backend.dart
diff --git a/dart/pkg/compiler/lib/src/dart_backend/backend.dart b/dart/pkg/compiler/lib/src/dart_backend/backend.dart
index 90baf1b2d30221dea10da42994cd2f62098c638f..290ee2f1f20ae98e501358bfd9074f380c46c0a9 100644
--- a/dart/pkg/compiler/lib/src/dart_backend/backend.dart
+++ b/dart/pkg/compiler/lib/src/dart_backend/backend.dart
@@ -370,6 +370,14 @@ class DartBackend extends Backend {
}
}
+
+ void registerMainHasArguments(Enqueuer enqueuer) {
+ // The first argument could be a list of strings.
+ enqueuer.registerInstantiatedClass(
+ listImplementation, compiler.globalDependencies);
+ enqueuer.registerInstantiatedClass(
+ stringImplementation, compiler.globalDependencies);
+ }
}
class DartResolutionCallbacks extends ResolutionCallbacks {

Powered by Google App Engine
This is Rietveld 408576698