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

Unified Diff: sdk/lib/core/bool.dart

Issue 23445016: Small changes to make analyzer happy. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « sdk/lib/convert/string_conversion.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/core/bool.dart
diff --git a/sdk/lib/core/bool.dart b/sdk/lib/core/bool.dart
index 275fd3e4cd0610a628bfaae8630621d8991dd8d3..6c7797fc4cb3be57f6fefaef74996aee1095a03e 100644
--- a/sdk/lib/core/bool.dart
+++ b/sdk/lib/core/bool.dart
@@ -21,5 +21,7 @@ class bool {
* Returns [:"true":] if the receiver is [:true:], or [:"false":] if the
* receiver is [:false:].
*/
- String toString();
+ String toString() {
+ return this ? "true" : "false";
+ }
}
« no previous file with comments | « sdk/lib/convert/string_conversion.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698