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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart

Issue 655703004: Fix analyzer error in pub's generated source. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/entrypoint.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart b/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
index 1b60f4170f41ea4609d42e9d67dbb43d4e0e365a..c020d15620b547be84bdc47aa05d3974bc2ebe37 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/entrypoint.dart
@@ -300,9 +300,8 @@ class Entrypoint {
});
return completer0.future;
})).catchError(((error) {
- for (package in dependenciesToPrecompile) {
- deleteEntry(path.join(depsDir, package));
- }
+ dependenciesToPrecompile.forEach(
+ (package) => deleteEntry(path.join(depsDir, package)));
throw error;
})).then((x1) {
try {
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/entrypoint.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698