e9ff597673
Since this method is only used to find supertype constraints that are relevant for mixin inference, it can save its caller from doing extra work by filtering out mixins that don't take type parameters. Previously, we were doing that when supporting the old "--supermixin" feature, but not when using the new mixin syntax. The method has been renamed to gatherMixinSupertypeConstraintsForInference so that it's less surprising that it doesn't return *all* supertype constraints. Change-Id: I33c5cf20bb4955a19ef0f7dc2425fefc26cf4d39 Reviewed-on: https://dart-review.googlesource.com/75983 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>