Index: pkg/analyzer/test/src/summary/linker_test.dart |
diff --git a/pkg/analyzer/test/src/summary/linker_test.dart b/pkg/analyzer/test/src/summary/linker_test.dart |
index 774cd8aab55778ead9ab7ad6d07930d7f2ee3d26..e67e88e4e8577c2fdc927ffec6ed932d59cc34ce 100644 |
--- a/pkg/analyzer/test/src/summary/linker_test.dart |
+++ b/pkg/analyzer/test/src/summary/linker_test.dart |
@@ -516,27 +516,6 @@ class D { |
expect(classD.fields[0].inferredType.toString(), 'dynamic'); |
} |
- void test_inferredTypeFromOutsideBuildUnit_methodParamType_viaGeneric() { |
- var bundle = createPackageBundle( |
- ''' |
-class B { |
- T f<T>(T t) => t; |
-} |
-class C extends B { |
- f<T>(t) => t; // Inferred param type: T |
-} |
-''', |
- path: '/a.dart'); |
- addBundle('/a.ds', bundle); |
- createLinker(''' |
-import 'a.dart'; |
-var x = new C().f(0); // Inferred type: int |
-'''); |
- LibraryElementForLink library = linker.getLibrary(linkerInputs.testDartUri); |
- expect(_getVariable(library.getContainedName('x')).inferredType.toString(), |
- 'int'); |
- } |
- |
void test_inferredTypeFromOutsideBuildUnit_methodParamType_viaInheritance() { |
var bundle = createPackageBundle( |
''' |