be6a560ca1
- Increment index to avoid infinite loop when the first named elements in the two record types are equivalent. - Add some test cases for record types. Fixes: https://github.com/dart-lang/sdk/issues/52817 Change-Id: Ifbf3505c74a1f130c9c90ddbb6b1d96d9641e51e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311929 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>