33cabf4313
Type parameter scopes were not set properly when loading bounds with generic function types from kernel file. The trail to avoid infinite recursion while comparing type parameter bounds was not used properly. Fixes https://github.com/dart-lang/sdk/issues/45313 Fixes https://github.com/dart-lang/sdk/issues/45322 Fixes https://github.com/dart-lang/sdk/issues/44930 TEST=regression tests added Change-Id: I096b7d8c22aa5b3a3a9e12a59b1417388ff5171f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/191465 Commit-Queue: Régis Crelier <regis@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>