| Index: pkg/analyzer/test/src/context/context_test.dart
|
| diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
|
| index 4c3ecb872dcdfffb5ad51afaca4a650614089ee7..83de70da6e109140a6e2373f59df78a9d07014d2 100644
|
| --- a/pkg/analyzer/test/src/context/context_test.dart
|
| +++ b/pkg/analyzer/test/src/context/context_test.dart
|
| @@ -2424,6 +2424,9 @@ import 'package:crypto/crypto.dart';
|
| }
|
|
|
| void test_resolveCompilationUnit_existingElementModel() {
|
| + prepareAnalysisContext(new AnalysisOptionsImpl()
|
| + ..enableGenericMethods = true
|
| + ..strongMode = true);
|
| Source source = addSource(
|
| '/test.dart',
|
| r'''
|
| @@ -2470,6 +2473,8 @@ class ClassTwo {
|
| void topLevelFunctionWithLocalFunction() {
|
| void localFunction({bool b: false}) {}
|
| }
|
| +
|
| +void functionWithGenericFunctionTypedParam/*<S>*/(/*=T*/ pf/*<T>*/(/*=T*/ e)) {}
|
| ''');
|
| context.resolveCompilationUnit2(source, source);
|
| LibraryElement firstElement = context.computeLibraryElement(source);
|
|
|