ae33e9c12c
When users provide program constraints, some of the library import prefixes will be unreachable. Though the core partitioning algorithm in dart2wasm will only work on imports sets of alive / reachable prefixes. => Make us filter out unreachable library prefixes before processing user-provided program constraints. => Add a check that those we filter out are still valid library prefixes from the Kernel AST. Change-Id: Id55064ee03e682a04d5e9117e466ac9573e66a39 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/498901 Reviewed-by: Nate Biggs <natebiggs@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>
19 lines
425 B
YAML
19 lines
425 B
YAML
include: package:lints/recommended.yaml
|
|
|
|
analyzer:
|
|
errors:
|
|
avoid_function_literals_in_foreach_calls: ignore
|
|
avoid_renaming_method_parameters: ignore
|
|
constant_identifier_names: ignore
|
|
implementation_imports: ignore
|
|
library_prefixes: ignore
|
|
|
|
exclude:
|
|
- test/ir_tests/*.dart
|
|
- test/deferred_loading/partition_tests/*.dart
|
|
|
|
linter:
|
|
rules:
|
|
- directives_ordering
|
|
- prefer_relative_imports
|