| Index: sdk/lib/core/bool.dart
|
| diff --git a/sdk/lib/core/bool.dart b/sdk/lib/core/bool.dart
|
| index 2c5da008212685fadf55dd662b3ccb3a09f82579..6155d6abab72252efcb47fd5afb61911aa2fa47a 100644
|
| --- a/sdk/lib/core/bool.dart
|
| +++ b/sdk/lib/core/bool.dart
|
| @@ -4,9 +4,22 @@
|
|
|
| part of dart.core;
|
|
|
| +/**
|
| + * The reserved words [:true:] and [:false:] denote objects that are the only
|
| + * instances of this class.
|
| + *
|
| + * It is a compile-time error for a class to attempt to extend or implement
|
| + * bool.
|
| + */
|
| class bool {
|
| factory bool._uninstantiable() {
|
| throw new UnsupportedError(
|
| "class bool cannot be instantiated");
|
| }
|
| +
|
| + /**
|
| + * Returns [:"true":] if the receiver is [:true:], or [:"false":] if the
|
| + * receiver is [:false:].
|
| + */
|
| + String toString();
|
| }
|
|
|