| Index: compiler/lib/implementation/bool.js
|
| diff --git a/compiler/lib/implementation/bool.js b/compiler/lib/implementation/bool.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7f7c08faabbf4d38cba5a5ee72631c82450dff58
|
| --- /dev/null
|
| +++ b/compiler/lib/implementation/bool.js
|
| @@ -0,0 +1,15 @@
|
| +// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +function native_BoolImplementation_EQ(other) {
|
| + throw Error('UNREACHABLE');
|
| +}
|
| +
|
| +function native_BoolImplementation_toString() {
|
| + return this.toString();
|
| +}
|
| +
|
| +function native_BoolImplementation_toBool() {
|
| + return this == true;
|
| +}
|
|
|