Chromium Code Reviews| Index: compiler/lib/implementation/bool.dart |
| =================================================================== |
| --- compiler/lib/implementation/bool.dart (revision 400) |
| +++ compiler/lib/implementation/bool.dart (working copy) |
| @@ -16,4 +16,8 @@ |
| // TODO(floitsch): we should intercept toString for primitives, to avoid |
| // creating a wrapper object. |
| String toString() native; |
| + |
| + BoolImplementation toBool() native; |
| + |
| + get dynamic() { return toBool(); } |
|
floitsch
2011/10/14 20:20:44
good catch.
|
| } |