dart-sdk/pkg
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
..
analysis_server Update the version of the server API 2017-07-25 12:45:16 -07:00
analyzer Mark newly passing test as passing. 2017-07-25 17:03:27 -07:00
analyzer_cli Replace typed_mock with mockito in analyzer_cli. 2017-07-25 09:54:08 -07:00
analyzer_plugin Remove the analysus.reanalyze request from the plugin API 2017-07-25 12:10:52 -07:00
async_helper Run dartfmt on remaining unformated pkg packages 2017-03-21 18:21:32 -07:00
browser
compiler dart2js-kernel: Recognize some List constructors. 2017-07-25 16:31:19 -07:00
dart_messages Make pkg/dart_messages strong. 2017-06-08 21:55:05 -07:00
dev_compiler fix test status for DDC's travis bot 2017-07-25 18:40:50 -07:00
expect Changed expect.dart typeAssertionsEnabled to pass strong mode tests. 2017-07-07 14:24:26 +02:00
front_end Resynthesize constructor initializers from Kernel. 2017-07-25 09:24:13 -07:00
js Run dartfmt on package:js 2017-03-21 18:10:03 -07:00
js_ast Add EquivalenceVisitor to tools in js_ast 2017-07-06 10:39:28 +02:00
kernel Preserve type variables in closure conversion. 2017-07-26 12:43:02 +02:00
lookup_map Run dartfmt on remaining unformated pkg packages 2017-03-21 18:21:32 -07:00
meta Update meta version pre-publish. 2017-07-19 14:30:47 -07:00
microlytics Run dartfmt on microlytics package. 2017-03-22 08:26:33 -07:00
status_file Added functionality to dump relevant status file entries to a single file to make it easier to see which tests have which status file entries. Future work: remove entries from original status files. 2017-07-25 17:48:09 -07:00
telemetry Fix spelling errors in telemetry README. 2017-07-07 10:57:58 -07:00
testing Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
typed_mock Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
.gitignore
BUILD.gn Make list_files.py and list_dart_files.py return absolute paths for GN 2016-12-13 10:01:28 -08:00
pkg.status Move the status file parser into its own package. 2017-07-25 15:29:59 -07:00
pkg_files.gyp Make list_files.py and list_dart_files.py return absolute paths for GN 2016-12-13 10:01:28 -08:00