| Index: dart/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| diff --git a/dart/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart b/dart/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| index 2eae4fb06df8a5a8144981bf052781f905f086b4..b133d12900e38c11dadb04799731e0ccf60da4a6 100644
|
| --- a/dart/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| +++ b/dart/sdk/lib/_internal/compiler/implementation/lib/interceptors.dart
|
| @@ -65,6 +65,8 @@ class JSFunction implements Function {
|
| */
|
| class JSBool implements bool {
|
| const JSBool();
|
| +
|
| + // Note: if you change this, also change the function [S].
|
| String toString() => JS('String', r'String(#)', this);
|
|
|
| // The values here are SMIs, co-prime and differ about half of the bit
|
| @@ -79,7 +81,10 @@ class JSBool implements bool {
|
| */
|
| class JSNull implements Null {
|
| const JSNull();
|
| +
|
| + // Note: if you change this, also change the function [S].
|
| String toString() => 'null';
|
| +
|
| int get hashCode => 0;
|
| Type get runtimeType => createRuntimeType('Null');
|
| }
|
|
|