dart-sdk/tools
Bob Nystrom 650c9dcc8e Support extractTypeArguments() in 1.0 mode on the VM and dart2js.
Without strong mode, a "good enough" implementation is to simply call
the generic method with "dynamic" for the type arguments, which is what
this does. That should be enough to unblock our internal users.

We also need to not report a compile error when
dart_internal/extract_type_arguments.dart imports the hidden
"dart:_internal" library.

This patch does both of those for the VM and dart2js (using its old
front end).

Note that the test still fails because the test is more particular than
most actual user code would be -- it validates that the instantiated
type arguments are *exactly* correct, and not that the returned object
is merely subtype compatible.

Bug:
Change-Id: I0343beace4991861b29712b3fd7067ec8dc8f8ba
Reviewed-on: https://dart-review.googlesource.com/28020
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-12-12 19:04:18 +00:00
..
android [infra] Roll clang to match the version used by Flutter 2017-05-06 21:45:00 -07:00
apps/update_homebrew Update the homebrew recipe to not have Dartium dev versions. 2017-07-17 18:31:09 +02:00
bots Support extractTypeArguments() in 1.0 mode on the VM and dart2js. 2017-12-12 19:04:18 +00:00
buildtools [windows] Disable clang-format download for bot failures 2017-09-08 22:43:37 +00:00
dart2js Format all files under tools and utils directory. 2017-04-20 09:08:31 -07:00
dartk_wrappers Move dartk to the tool folder 2017-04-28 15:39:17 -07:00
dom Workaround CFE instantiate-to-bounds bug 2017-12-06 21:34:11 +00:00
gardening Tool for updating status files from result logs. 2017-12-08 14:58:55 +00:00
infra/config [Infra] Move runtime into DDC builder names 2017-12-12 08:11:12 +00:00
linux_dist_support/debian Change debian package build rules to drop GYP 2017-08-18 14:27:48 +02:00
migration Add dartdevk configurations to run_tests.dart 2017-12-01 21:31:03 +00:00
sdks Update checked-in SDK to version 2.0.0-dev.3.0 2017-10-04 12:25:32 +00:00
spec_parser Adds support for syntax error in tests to test.py. 2017-11-06 08:56:09 +00:00
testing Treat compile-time errors from the batch mode runner correctly 2017-12-12 17:18:10 +00:00
.gitignore Match version of idl_parser and WebCore so go.sh can be run from a Dart only enlistment. 2016-03-06 15:10:36 -08:00
addlatexhash.dart Format all files under tools and utils directory. 2017-04-20 09:08:31 -07:00
archive_crash.py Archive more debug builds for manual inspection of binary differences 2015-02-12 07:24:02 +00:00
build.py [infra] Translate _sources.gypi files to _sources.gni files 2017-08-14 21:54:36 -07:00
canary.dart - Prevent running of the dart_bootstrap script by default. 2015-12-11 13:23:12 -08:00
capture_screenshot.ps1 Attempt at capturing screenshot on IE if tests time out 2017-04-12 10:57:58 +02:00
clean_output_directory.py Add missing python import to utility script 2015-07-08 13:20:22 +02:00
compile_platform.py compile_platform should work when there's no checked-in dart binary. 2017-10-17 11:29:50 +00:00
copy_dart.py Build Tools Cleanup 2014-07-25 11:47:59 +00:00
copy_tree.py Invoke copy_tree.py only once to collect all input file lists. 2017-08-09 11:14:01 -07:00
create_debian_chroot.sh Update linux distribution support to Debian Jesse 2016-08-17 12:37:42 +02:00
create_debian_packages.py Debian package building should show all output to stdout 2017-10-13 14:18:33 +00:00
create_pkg_manifest.py Remove Fuchsia-specific build files. 2017-10-19 17:52:37 +00:00
create_tarball.py Switch to downloaded SDK executable, drop executables in testing/bin. 2016-02-15 17:10:59 +01:00
create_timestamp_file.py Fuchsia: Allows building the full SDK for host and target. 2016-12-13 13:02:52 -08:00
download_chromium_sysroot.sh Add tools to build Dart with Chromium's sysroot. 2016-08-10 16:04:03 +02:00
download_latest_dev_sdk.py [fuchsia] Always download the latest SDK. 2017-11-08 16:27:47 +00:00
execute_recorded_testcases.py
FAKE_COMMITS Poke the buildbot following purpleness 2017-07-25 07:48:28 -07:00
find_depot_tools.py GN build on windows 2016-10-04 09:19:07 -07:00
gen_fuchsia_test_manifest.py [infra] Use new GN template to assemble Fuchsia test image 2017-10-24 15:27:58 +00:00
generate_buildfiles.py [infra] Begin removing gyp 2017-08-04 22:19:35 -07:00
get_archive.py Update URL to download dartium and content shell for testing 2016-11-14 14:10:33 +01:00
gn.py [infra] Use Clang for ia32 and arm64. Use the dl'd sysroots by default. 2017-12-02 06:19:33 +00:00
gn_helpers.py Adds GN build files for building in GN based projects. 2014-11-11 22:03:55 +00:00
line_doc_comments.dart Fix path to pkg/path – .packages resolution works to the root of repo 2017-08-04 11:14:23 -07:00
list_dart_files.py Make list_files.py and list_dart_files.py return absolute paths for GN 2016-12-13 10:01:28 -08:00
list_files.py Make list_files.py and list_dart_files.py return absolute paths for GN 2016-12-13 10:01:28 -08:00
make_bundle_unittest.py
make_version.py [vm] Toward deterministic builds. 2017-11-23 00:07:56 +00:00
ninja.py [infra] Add --no-start-goma flag to build.py 2017-11-21 22:28:43 +00:00
observatory_tool.py [observatory] Add a 'GC' button to heap map. 2017-06-29 10:45:26 -07:00
only_in_release_mode.py Build Tools Cleanup 2014-07-25 11:47:59 +00:00
patch_sdk.dart [CFE] Move front-end API under src/ 2017-12-01 08:42:16 +00:00
patch_sdk.py Build DDC's SDK as part of the regular build. 2017-11-20 23:24:07 +00:00
presubmit.sh Refs #25328 Use a portable shebang 2016-01-05 16:26:28 +01:00
print_version.py
promote.py Remove Dartium from the SDK promotion script 2017-07-17 16:21:02 +02:00
publish_pkg.py Build Tools Cleanup 2014-07-25 11:47:59 +00:00
revert.py Build Tools Cleanup 2014-07-25 11:47:59 +00:00
run_dart.py Don't spew DDC SDK build warnings when building. 2017-11-21 21:58:37 +00:00
safari_factory_reset.py Revert "Revert "Make Safari tests more robust."" 2016-06-15 04:29:33 -07:00
set_ia32_sysroot.sh Add tools to build Dart with Chromium's sysroot. 2016-08-10 16:04:03 +02:00
set_x64_sysroot.sh Add tools to build Dart with Chromium's sysroot. 2016-08-10 16:04:03 +02:00
spec_parse.py Add a tools/spec_parse.py script. 2017-10-10 16:03:36 +00:00
status_clean.dart Clean up the multitest code. 2017-12-12 01:30:59 +00:00
task_kill.py Correct case of vctip executable 2017-09-12 17:20:31 +00:00
test.py Move test.dart into testing/dart. 2017-05-02 16:48:28 -07:00
utils.py [vm] Toward deterministic builds. 2017-11-23 00:07:56 +00:00
VERSION Update Dart version to 2.0.0 2017-09-18 09:31:05 +00:00
write_revision_file.py [Fuchsia] Build only the parts of the SDK that are needed 2017-04-19 09:00:14 -07:00
write_version_file.py [Fuchsia] Build only the parts of the SDK that are needed 2017-04-19 09:00:14 -07:00
yaml2json.dart Mention that libraries.json is generated. 2017-11-01 12:55:42 +00:00
yaml2json.py Add YAML file with VM patch file information. 2017-02-21 13:56:28 +01:00