3bdbceddc7
This reverts commit 3923958595.
Reason for revert: Broke dart->flutter roll https://github.com/flutter/flutter/pull/176234 due to customer testing
Original change's description:
> [analyzer] Add experimental_member_use warning.
>
> Adds the implementation of the `experimental_member_use` warning
> (whose diagnostic code was introduced in
> https://dart-review.googlesource.com/c/sdk/+/451341).
>
> There is very little implementation logic, since the bulk of the
> implementation is shared with the existing `deprecated_member_use`
> warning. Unit tests are adapted from the `deprecated_member_use` unit
> tests.
>
> Since the tests in `non_const_argument_for_const_parameter_test.dart`
> use the annotation `@mustBeConst`, which is marked `@experimental`,
> they had to be modified to expect the new warning.
>
> Change-Id: I6a6a69645bb072b29166b7617b480a890b2bb5aa
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450970
> Reviewed-by: Samuel Rawlins <srawlins@google.com>
> Commit-Queue: Paul Berry <paulberry@google.com>
Change-Id: I6a6a696447ed61b133e17ffc63ca6067fdbcc1ca
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/452526
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: analyzer
|
|
version: 8.2.0
|
|
description: >-
|
|
This package provides a library that performs static analysis of Dart code.
|
|
repository: https://github.com/dart-lang/sdk/tree/main/pkg/analyzer
|
|
|
|
environment:
|
|
sdk: ^3.9.0
|
|
|
|
resolution: workspace
|
|
|
|
dependencies:
|
|
# See the release policy for this dependency at
|
|
# pkg/analyzer/doc/implementation/releasing.md.
|
|
_fe_analyzer_shared: ^89.0.0
|
|
collection: ^1.19.0
|
|
convert: ^3.0.0
|
|
crypto: ^3.0.0
|
|
glob: ^2.0.0
|
|
meta: ^1.15.0
|
|
package_config: ^2.0.0
|
|
path: ^1.9.0
|
|
pub_semver: ^2.1.4
|
|
source_span: ^1.8.0
|
|
watcher: ^1.1.0
|
|
yaml: ^3.0.0
|
|
|
|
# We use 'any' version constraints here as we get our package versions from
|
|
# the dart-lang/sdk repo's DEPS file. Note that this is a special case; the
|
|
# best practice for packages is to specify their compatible version ranges.
|
|
# See also https://dart.dev/tools/pub/dependencies.
|
|
dev_dependencies:
|
|
analysis_server_client: any
|
|
analyzer_testing: any
|
|
analyzer_utilities: any
|
|
args: any
|
|
async: any
|
|
checks: any
|
|
heap_snapshot: any
|
|
linter: any
|
|
lints: any
|
|
matcher: any
|
|
test: any
|
|
test_reflective_loader: any
|
|
vm_service: any
|
|
|