1cbb5debeb
Class::Hash previously only hashed class name. This could cause hash collisions for top-level classes which have the same name. Function::Hash uses Class::Hash, so it could also suffer from hash collisions among top-level functions. This change adds hashing of library URI when calculating Class::Hash / Function::Hash. TEST=ci Change-Id: I8bed681ecb8b8a6b0fceb99866c551ff19a36ab7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311930 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>