aa85b09931
The class hierarchy analysis maintains, for each class, a map from raw supertypes to actual, parameterized supertypes. As an optimization, it can share these maps between a class and one of its subclasses. However, the sharing/copying mechanism sometimes ends up with entries in the map that should not have been there. This commit removes the optimization and always uses a separate map for each class. Closes https://github.com/dart-lang/sdk/issues/31996 Change-Id: I4c641d9c7d15706035791dd2b586a24045afceaa Reviewed-on: https://dart-review.googlesource.com/39765 Commit-Queue: Aske Simon Christensen <askesc@google.com> Reviewed-by: Kevin Millikin <kmillikin@google.com>