| Index: runtime/lib/null_patch.dart
|
| diff --git a/runtime/lib/null_patch.dart b/runtime/lib/null_patch.dart
|
| index fb117d171c931a6932568b529b66d8fd50bbbb8d..61972d186647457abccdffbbc5289af6d5cdb924 100644
|
| --- a/runtime/lib/null_patch.dart
|
| +++ b/runtime/lib/null_patch.dart
|
| @@ -7,13 +7,12 @@
|
| patch class Null {
|
|
|
| factory Null._uninstantiable() {
|
| - throw new UnsupportedError(
|
| - "class Null cannot be instantiated");
|
| + throw new UnsupportedError("class Null cannot be instantiated");
|
| }
|
|
|
| - int get _identityHashCode {
|
| - return 2011; // The year Dart was announced and a prime.
|
| - }
|
| + static const _HASH_CODE = 2011; // The year Dart was announced and a prime.
|
| + int get _identityHashCode => _HASH_CODE;
|
| + int get hashCode => _HASH_CODE;
|
|
|
| String toString() {
|
| return 'null';
|
|
|