575a8f8381
Until now the subtype-test cache mechanism did not work (i.e. could return the wrong result) for partially instantiated generic closures. Additionally, closures which close over generic methods were always handled in runtime. This caused a servere performance regression for any code hitting this (e.g. code which uses `package:stack_trace`). Fixes https://github.com/dart-lang/sdk/issues/34051 Fixes https://github.com/dart-lang/sdk/issues/34054 Change-Id: Idb73e6f348c2fe0c737f42c57009f5f7a636c9a6 Reviewed-on: https://dart-review.googlesource.com/68369 Commit-Queue: Martin Kustermann <kustermann@google.com> Reviewed-by: Régis Crelier <regis@google.com>