ab19361e87
VM has been hiding certain internal implementation types by converting them to user-visible types in Object.runtimeType. However, types of record fields were not converted, which caused inconsistent hashCode of record types. This change fixes this bug by applying the same type conversion to types of record fields. TEST=tests/language/records/type_equality_and_hash_code_test.dart Fixes https://github.com/dart-lang/sdk/issues/56771 Change-Id: Ie02e76368de0026620d6ab278f49c14e06fd6eda Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/386542 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>