dart-sdk/tools
Daco Harkes 89d769765a Revert "[tools] verify_docs don't error on library annotations"
This reverts commit 97eaded1ed.

Reason for revert: It was not erroring on the annotation on the
library, but on the implicit import statement above it due to
template:top.

https://github.com/dart-lang/sdk/issues/50291#issuecomment-1290158070

Original change's description:
> [tools] `verify_docs` don't error on library annotations
>
> Dartdoc code snippets should be able to have annotations before the
> `library` keyword.
>
> Bug: https://github.com/dart-lang/sdk/issues/49803#issuecomment-1287044157
>
> Change-Id: I7ec0b6db296274a1173d10d900f7af38a1f2b552
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265321
> Reviewed-by: Devon Carew <devoncarew@google.com>
> Auto-Submit: Daco Harkes <dacoharkes@google.com>
> Commit-Queue: Daco Harkes <dacoharkes@google.com>
> Commit-Queue: Devon Carew <devoncarew@google.com>

TBR=lrn@google.com,devoncarew@google.com,dacoharkes@google.com,dart-scoped@luci-project-accounts.iam.gserviceaccount.com

Change-Id: I379a1871a1acd4d1c66804c3948f38e45691fd55
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/dart-lang/sdk/issues/49803#issuecomment-1287044157
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265324
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2022-10-25 09:35:18 +00:00
..
bots [testing] Remove --compiler=none from test.py 2022-10-19 08:09:58 +00:00
buildtools
dart2js Change : to = in tools/ and DOM templates. 2022-08-24 14:21:01 +00:00
dom Remove dynamic invocations from custom elements in html_dart2js. 2022-09-20 16:16:06 +00:00
fuchsia
linux_dist_support [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
package_deps Change : to = in tools/ and DOM templates. 2022-08-24 14:21:01 +00:00
patches
sdks
spec_parser Adjust rules recordLiteralNoConst and recordType to include () 2022-10-06 15:10:57 +00:00
test_generators
testing
verify_docs Revert "[tools] verify_docs don't error on library annotations" 2022-10-25 09:35:18 +00:00
.gitignore
3xhead_flutter_hooks.sh
addlatexhash.dart
analysis_options.yaml
build.py [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
canary.dart
copy_dart.py
copy_tree.py
create_pkg_manifest.py
diff_results.dart
download_chromium_sysroot.sh
experimental_features.yaml [cfe,vm] Support 'records' experiment in the sdk 2022-10-05 09:00:30 +00:00
FAKE_COMMITS
find_depot_tools.py
gen_fuchsia_test_manifest.py
generate_buildfiles.py
generate_experimental_flags.dart [tools] migrate the rest of tools/ to null safety 2022-06-24 16:38:39 +00:00
generate_idefiles.py [build] Switch builds to the ninja in DEPS 2022-09-27 11:24:03 +00:00
generate_package_config.dart [vm/aot] Support dynamic record field access in TFA 2022-10-19 17:49:47 +00:00
generate_package_config.py
generate_sdk_version_file.py
get_dot_git_folder.py
git_cl_try.sh
gn.py [vm] Add a stub simx64. 2022-07-29 18:11:01 +00:00
gn_helpers.py
line_doc_comments.dart Fix typos 2022-06-15 11:08:28 +00:00
list_dart_files.py
list_dart_files_as_depfile.py
make_version.py
manage_deps.dart
minidump.py
opt_out_files.dart
OWNERS
OWNERS_ANALYZER
OWNERS_BUILD
OWNERS_CFE
OWNERS_ECOSYSTEM [owners] add mosum@ to the OWNERS_ECOSYSTEM file 2022-09-16 17:51:55 +00:00
OWNERS_ENG
OWNERS_FOUNDATION
OWNERS_GOOGLE3
OWNERS_INFRA
OWNERS_PRODUCT
OWNERS_PUB
OWNERS_VM
OWNERS_WASM
OWNERS_WEB
presubmit.sh
promote.py
publish_pkg.py
rev_sdk_deps.dart [tools] rev_sdk_deps.dart output commit message 2022-10-24 18:06:19 +00:00
run_offsets_extractor.sh
run_with_coredumps_enabled.py
set_ia32_sysroot.sh
set_x64_sysroot.sh
spec_parse.py
task_kill.py
test.dart [tools] migrate the rest of tools/ to null safety 2022-06-24 16:38:39 +00:00
test.py
utils.py build: recognize python architecture for Windows on Arm ("ARM64") 2022-08-08 16:08:30 +00:00
validate_test_matrix.dart
VERSION [release] Bump version to 2.19 2022-07-14 14:14:55 +00:00
write_dartdoc_options_file.py
write_revision_file.py
write_version_file.py
yaml2json.dart