6128a39d85
Previously, prologue builder omitted loading of delayed type arguments from closure object in case of inling. This would effectively switch from using delayed type arguments of an instantiated generic closure to type arguments passed on the stack (null/all-dynamic if none), which is not correct. The fix is to load delayed type arguments from closure object even in case of inlining. TEST=tests/language/regress/regress46550_test.dart Fixes https://github.com/dart-lang/sdk/issues/46550 Change-Id: Ibe50b0bc2ebda1d3638c4940fe9a26cd5ba7ce32 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207704 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Tess Strickland <sstrickl@google.com>
This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.