| 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 47138b0447940add2e6ee216620beb0a92b86a61..6bfb3fc7df62bcfed31c16c27519f6a0f2cb82c7 100644
|
| --- a/pkg/analyzer/test/src/summary/linker_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/linker_test.dart
|
| @@ -198,6 +198,28 @@ var y = x;
|
| '() → dynamic');
|
| }
|
|
|
| + void test_inferredType_closure_fromBundle_identifierSequence() {
|
| + var bundle = createPackageBundle(
|
| + '''
|
| +class C {
|
| + static final x = (D d) => d.e;
|
| +}
|
| +class D {
|
| + E e;
|
| +}
|
| +class E {}
|
| +''',
|
| + path: '/a.dart');
|
| + addBundle(bundle);
|
| + createLinker('''
|
| +import 'a.dart';
|
| +var y = C.x;
|
| +''');
|
| + LibraryElementForLink library = linker.getLibrary(linkerInputs.testDartUri);
|
| + expect(_getVariable(library.getContainedName('y')).inferredType.toString(),
|
| + '(D) → E');
|
| + }
|
| +
|
| void test_inferredType_instanceField_dynamic() {
|
| createLinker('''
|
| var x;
|
|
|