| Index: pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| diff --git a/pkg/analyzer/test/generated/static_type_warning_code_test.dart b/pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| index 061c69d12662b4a2d479edf286fd63c6a156cb7e..0282d9965ed81c945565d83411f3f3e929cc9be8 100644
|
| --- a/pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| +++ b/pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
| @@ -683,29 +683,6 @@ f(B<A> b) {}''');
|
| verify([source]);
|
| }
|
|
|
| - void test_notEnoughRequiredArguments_mergedUnionTypeMethod() {
|
| - enableUnionTypes(false);
|
| - Source source = addSource(r'''
|
| -class A {
|
| - int m(int x) => 0;
|
| -}
|
| -class B {
|
| - String m(String x) => '0';
|
| -}
|
| -f(A a, B b) {
|
| - var ab;
|
| - if (0 < 1) {
|
| - ab = a;
|
| - } else {
|
| - ab = b;
|
| - }
|
| - ab.m();
|
| -}''');
|
| - resolve(source);
|
| - assertErrors(source, [StaticWarningCode.NOT_ENOUGH_REQUIRED_ARGUMENTS]);
|
| - verify([source]);
|
| - }
|
| -
|
| void test_returnOfInvalidType_async_future_int_mismatches_future_null() {
|
| Source source = addSource('''
|
| import 'dart:async';
|
|
|