|
|
Simplify annotations in runtime check tests.
It turns out that it is easier to calculate whether or not checks are
needed at the site of the declaration of the interface target, not at
the call site. Accordingly, it makes sense to put the annotations on
the interface target declarations as well. This lets us get rid of a
clumsy annotation format that referred to arguments by number, in
favor of simply annotating the formal parameters themselves.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/c3ae6bd2963025a9cb31c037d01503325633ac9d
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+162 lines, -287 lines) |
Patch |
 |
M |
pkg/analyzer/test/src/task/strong/front_end_runtime_check_test.dart
|
View
|
1
|
9 chunks |
+81 lines, -158 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/testing/validating_instrumentation.dart
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/type_inference/type_inference_engine.dart
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart
|
View
|
1
2
|
2 chunks |
+9 lines, -68 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/call_through_this.dart
|
View
|
|
2 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/contravariant_generic_return.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/contravariant_getter.dart
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_method_type_parameter.dart
|
View
|
|
1 chunk |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter.dart
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_complex.dart
|
View
|
|
1 chunk |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface.dart
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_mixin.dart
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super.dart
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_tear_off.dart
|
View
|
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/covariant_setter.dart
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/dynamic_invocation.dart
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/dynamic_invocation_generic.dart
|
View
|
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
pkg/front_end/testcases/runtime_checks/dynamic_invocation_of_getter.dart
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|