-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm/test] Test CanonicalizeHash hashCode equality
Test some of the assumptions from go/dart-vm-const-maps about `CanonicalizeHash` in the VM being equal to Dart's `hashCode`. In this CL this is true for integers, doubles, booleans, strings, null, and type consts. In this CL this is not true yet for Symbols, and user-defined const instances. Bug: #45908 TEST=runtime/vm/object_test.cc Change-Id: Ic3b4495942177ad90aa4365eb7691ca731572cb5 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206240 Commit-Queue: Daco Harkes <[email protected]> Reviewed-by: Tess Strickland <[email protected]>
- Loading branch information
1 parent
f5e59f8
commit 0f94869
Showing
1 changed file
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters