dart-sdk/tools
Erik Ernst f4d7951a88 For external/abstract fields: add tests and update Dart.g
This CL adds tests in language/external_abstract_fields, testing the
support for abstract instance variables, and for external top-level,
class, and instance variables. It is tested that the syntax of
supported declarations is accepted, and a number of non-supported
forms are rejected, and abstract fields are tested at run time as well.

The implementation of external fields is provided by an implementation
specific mechanism, and no tests are added for any such mechanisms
(that is, with external fields we only test errors).

This CL also updates the spec grammar Dart.g to include grammar
rules for the new kinds of declarations, and it has been verified that
the new tests are passing, respectively cause syntax errors, as
indicated in the test files.

The tests are a further development of the ones in
https://dart-review.googlesource.com/c/sdk/+/145862.

Change-Id: I13be746a05d5acf0117d8cb22151bd9863a71a78
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148324
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2020-07-02 13:39:39 +00:00
..
abiversions [SDK] Adds documentation about updating ABI_VERSION 2020-05-07 12:33:37 +00:00
android Mass format python with yapf 2019-08-05 20:34:31 +00:00
apps/update_homebrew [homebrew] Modify the version string when updating the version 2020-04-03 10:32:34 +00:00
bots [benchmarks/ffi] Migrate benchmarks to NNBD 2020-06-30 14:44:27 +00:00
buildtools Mass format python with yapf 2019-08-05 20:34:31 +00:00
dart2js
dom [dart:html] Revert commits using MDN compatibility info 2020-07-02 01:33:18 +00:00
linux_dist_support/debian Reland "[vm] Build dart2native dependencies with the normal "create_sdk" target" 2020-06-17 16:12:26 +00:00
migration Correctly run legacy tests. 2020-06-23 23:06:05 +00:00
patches update collection dep, and add flutter-engine patch 2020-07-01 20:50:38 +00:00
sdks [release] Update checked-in SDKs to 2.9.0-4.0.dev 2020-04-28 14:20:48 +00:00
spec_parser For external/abstract fields: add tests and update Dart.g 2020-07-02 13:39:39 +00:00
test_generators Migrate language_2/async_nested to NNBD. 2020-02-12 20:46:37 +00:00
testing
.gitignore
3xhead_flutter_hooks.sh
addlatexhash.dart [tools] Fix addlatexhash.dart in NNBD mode 2020-03-23 19:47:52 +00:00
build.py Reland "Revert "Add an --os=fuchsia option to build.py:"" 2020-06-18 00:24:31 +00:00
canary.dart
clean_output_directory.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
copy_dart.py Force copy_dart.py to use python2.7 2020-05-29 22:57:27 +00:00
copy_tree.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_debian_chroot.sh [infra] Remove wheezy left overs from SDK 2020-06-04 18:32:29 +00:00
create_debian_packages.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_pkg_manifest.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_tarball.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
create_timestamp_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
diff_results.dart [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
download_abi_dills.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
download_chromium_sysroot.sh [infra] Remove wheezy left overs from SDK 2020-06-04 18:32:29 +00:00
download_latest_dev_sdk.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
execute_recorded_testcases.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
experimental_features.yaml [dartdev] Implement --enable-experiments for dart run and dart pub run. 2020-06-30 23:22:42 +00:00
FAKE_COMMITS [infra] Empty SDK commit to validate recipe changes 2020-06-22 04:54:21 +00:00
find_depot_tools.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
gen_fuchsia_test_manifest.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
generate_buildfiles.py [vm] DBC is obsolete. Remove dead code. 2019-10-27 18:18:29 +00:00
generate_idefiles.py [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
generate_package_config.dart Remove references to removed tools/gardening 2020-05-12 18:42:30 +00:00
gn.py Revert "[build] Use Goma from depot_tools instead of $HOME/goma" 2020-06-29 08:02:57 +00:00
gn_helpers.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
line_doc_comments.dart
list_dart_files.py Fix list_files.py so it is python3-compatible. 2020-02-15 00:12:50 +00:00
list_files.py Fix list_files.py so it is python3-compatible. 2020-02-15 00:12:50 +00:00
make_bundle_unittest.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
make_version.py Revert "[SDK] Adds an SDK hash to kernels and the VM." 2020-06-26 18:54:17 +00:00
minidump.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
only_in_release_mode.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
presubmit.sh
promote.py [infra] Remove wheezy left overs from SDK 2020-06-04 18:32:29 +00:00
publish_pkg.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
revert.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
run_abi_tests.py [infra] Add explanation to ABI test logs 2020-06-12 15:58:25 +00:00
run_debian_build.sh
run_offsets_extractor.sh [vm] Update offsets 2020-01-27 15:59:56 +00:00
safari_factory_reset.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
task_kill.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
test.dart [infra] Handle test steps with no tested configuration 2020-03-27 07:09:37 +00:00
test.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
upload_abi_dills.sh [SDK] Adds documentation about updating ABI_VERSION 2020-05-07 12:33:37 +00:00
utils.py [SDK] Clean up tools/utils.py. Style; Py2/3 compatible; 2020-06-30 13:22:30 +00:00
validate_test_matrix.dart [presubmit] Add presubmit check for valid test matrix 2020-05-12 05:48:22 +00:00
VERSION Bump ABI version 2020-06-30 18:33:54 +00:00
write_dartdoc_options_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
write_revision_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
write_version_file.py Mass format python with yapf 2019-08-05 20:34:31 +00:00
yaml2json.dart
yaml2json.py Mass format python with yapf 2019-08-05 20:34:31 +00:00