dart-sdk/pkg/kernel/testcases
Samir Jindel 4d7490c609 Preserve type variables in closure conversion.
Summary:

Previously, we filled in all occurrences of captured type variables with either
"dynamic" or their bound, if they had one.

Now, we add extra type parameters to the top-level function corresponding to the
closure, and pass in the corresponding arguments as type arguments to the
"MakeClosure" operation.

Test Plan:

Updated [type_variables.dart] and added a new test case to it.

R=dmitryas@google.com

Review-Url: https://codereview.chromium.org/2989563002 .
2017-07-26 12:43:02 +02:00
..
closures Preserve type variables in closure conversion. 2017-07-26 12:43:02 +02:00
closures_initializers Convert closures in all initializers, and share the context between them. 2017-07-14 10:59:17 +02:00
closures_type_vars Preserve type variables in closure conversion. 2017-07-26 12:43:02 +02:00
interpreter Add support for running constructors with new 2017-07-25 17:24:15 +02:00
reify Fix kernel test case format error. 2017-03-22 08:32:36 -07:00
.gitignore [kernel] Reorganize baseline testing. 2016-09-21 12:23:11 +02:00