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

Unified Diff: sdk/lib/_internal/pub/lib/src/solver/version_solver.dart

Issue 15777002: Use indentation for maps in lockfile. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 7 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: sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
diff --git a/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart b/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
index 1ae8d3e33a78b563b582516d39a8e81d8b8c1346..7b6713b0895f9af10a906cfeeb1470600ae12b4f 100644
--- a/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
+++ b/sdk/lib/_internal/pub/lib/src/solver/version_solver.dart
@@ -221,7 +221,9 @@ abstract class SolveFailure implements ApplicationException {
}
/// A message describing the specific kind of solve failure.
- String get _message;
+ String get _message {
+ throw new UnimplementedError("Must override _message or toString().");
+ }
/// Describes a dependencie's reference in the output message. Override this
/// to highlight which aspect of [dep] led to the failure.

Powered by Google App Engine
This is Rietveld 408576698