| Index: pkg/analyzer/test/generated/static_warning_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/static_warning_code_test.dart b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| index 14452334691b678842339209eb4d5544617b2c97..f8fc40d9a8723cf3d6f8f69d3db2a6a51a691d5f 100644
|
| --- a/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/static_warning_code_test.dart
|
| @@ -19,6 +19,21 @@ main() {
|
|
|
| @reflectiveTest
|
| class StaticWarningCodeTest extends ResolverTestCase {
|
| + void fail_argumentTypeNotAssignable_tearOff_required() {
|
| + Source source = addSource(r'''
|
| +class C {
|
| + Object/*=T*/ f/*<T>*/(Object/*=T*/ x) => x;
|
| +}
|
| +g(C c) {
|
| + var h = c.f/*<int>*/;
|
| + print(h('s'));
|
| +}
|
| +''');
|
| + computeLibrarySourceErrors(source);
|
| + assertErrors(source, [StaticWarningCode.ARGUMENT_TYPE_NOT_ASSIGNABLE]);
|
| + verify([source]);
|
| + }
|
| +
|
| void fail_undefinedGetter() {
|
| Source source = addSource(r'''
|
| ''');
|
|
|