| Index: pkg/analyzer/test/generated/hint_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/hint_code_test.dart b/pkg/analyzer/test/generated/hint_code_test.dart
|
| index 79cb436237721a895b190310f5e9ae64d77c75bc..8cc6d75c8613e7546c1f11949e859ca47c5f742a 100644
|
| --- a/pkg/analyzer/test/generated/hint_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/hint_code_test.dart
|
| @@ -813,6 +813,21 @@ class B extends A {
|
| verify([source]);
|
| }
|
|
|
| + void test_deprecatedAnnotationUse_call() {
|
| + Source source = addSource(r'''
|
| +class A {
|
| + @deprecated
|
| + call() {}
|
| + m() {
|
| + A a = new A();
|
| + a();
|
| + }
|
| +}''');
|
| + computeLibrarySourceErrors(source);
|
| + assertErrors(source, [HintCode.DEPRECATED_MEMBER_USE]);
|
| + verify([source]);
|
| + }
|
| +
|
| void test_divisionOptimization_double() {
|
| Source source = addSource(r'''
|
| f(double x, double y) {
|
|
|