Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: runtime/lib/bool_patch.dart

Issue 2563633002: Make the VM's dart:core and dart:async library patches clean. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/lib/core_patch.dart » ('j') | runtime/lib/core_patch.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/bool_patch.dart
diff --git a/runtime/lib/bool_patch.dart b/runtime/lib/bool_patch.dart
index 5b5f4ff5f53f375e593fdc092fdc9d4ebc494483..3adc918daabe8d182eb3a111d57bcb27e4556bf2 100644
--- a/runtime/lib/bool_patch.dart
+++ b/runtime/lib/bool_patch.dart
@@ -10,6 +10,8 @@
{bool defaultValue: false})
native "Bool_fromEnvironment";
+ @patch
int get hashCode => this ? 1231 : 1237;
+
int get _identityHashCode => this ? 1231 : 1237;
}
« no previous file with comments | « no previous file | runtime/lib/core_patch.dart » ('j') | runtime/lib/core_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698