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

Unified Diff: lib/core/errors.dart

Issue 11320007: Fix toString in StateError (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/core/errors.dart
diff --git a/lib/core/errors.dart b/lib/core/errors.dart
index 9a16d83d2d2bd23964cd7fb7b1480f2619e0f74b..c9709c9664d8ba3dd5bbb4cad99121e316190290 100644
--- a/lib/core/errors.dart
+++ b/lib/core/errors.dart
@@ -156,7 +156,7 @@ class NoSuchMethodError implements Error {
class UnsupportedError implements Error {
final String message;
UnsupportedError(this.message);
- String toString() => "Unsupported operation: message";
+ String toString() => "Unsupported operation: $message";
}
/**
@@ -168,7 +168,7 @@ class UnsupportedError implements Error {
class StateError implements Error {
final String message;
StateError(this.message);
- String toString() => "Bad state: message";
+ String toString() => "Bad state: $message";
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698