9c6f8bebfb
This adds two dartdevc tests that analyze dartdevc itself and the dartdevc platform libraries, respectively, for uses of dynamic invocation, dynamic get and dynamic set. This is to help reduce the number of these accesses, which are often accidental and unwanted. The current state is allowed using allow-lists. Change-Id: Ib2bb69cc311b0a3d6993da3cd31090a9321e0e64 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327880 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com>
9 lines
265 B
JSON
9 lines
265 B
JSON
{
|
|
"pkg/dev_compiler/lib/src/kernel/expression_compiler_worker.dart": {
|
|
"Dynamic invocation of '[]'.": 3
|
|
},
|
|
"pkg/dev_compiler/lib/src/js_ast/template.dart": {
|
|
"Dynamic invocation of '[]'.": 10,
|
|
"Dynamic invocation of 'toAssignExpression'.": 1
|
|
}
|
|
} |