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

Unified Diff: pkg/barback/lib/src/build_result.dart

Issue 22824023: Start sketching out a buildAll() method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 4 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/barback/lib/src/build_result.dart
diff --git a/pkg/barback/lib/src/build_result.dart b/pkg/barback/lib/src/build_result.dart
index e41ec2ebadcf609e1425d95f10a4b9ce20aebf1a..2cb305cfd91508e6c1c3cb4993cfa9559b38fde0 100644
--- a/pkg/barback/lib/src/build_result.dart
+++ b/pkg/barback/lib/src/build_result.dart
@@ -24,7 +24,7 @@ class BuildResult {
bool get succeeded => errors.isEmpty;
BuildResult(Iterable<BarbackException> errors)
- : errors = errors.toSet();
+ : errors = flattenAggregateExceptions(errors).toSet();
/// Creates a build result indicating a successful build.
///

Powered by Google App Engine
This is Rietveld 408576698