| Index: pkg/analyzer/test/generated/strong_mode_test.dart
|
| diff --git a/pkg/analyzer/test/generated/strong_mode_test.dart b/pkg/analyzer/test/generated/strong_mode_test.dart
|
| index 848668e6e6b7c0180def4e0ed0cca91f7ba4b03f..893875624e32907fc8bf2b344cb1e8d82e467c3c 100644
|
| --- a/pkg/analyzer/test/generated/strong_mode_test.dart
|
| +++ b/pkg/analyzer/test/generated/strong_mode_test.dart
|
| @@ -1129,11 +1129,7 @@ void test() {
|
| CompilationUnit unit = (await computeAnalysisResult(source)).unit;
|
| assertNoErrors(source);
|
| verify([source]);
|
| - DartType cType = AstFinder
|
| - .getTopLevelFunction(unit, "test")
|
| - .element
|
| - .localVariables[0]
|
| - .type;
|
| + DartType cType = findLocalVariable(unit, 'c').type;
|
| Element elementC = AstFinder.getClass(unit, "C").element;
|
|
|
| _isInstantiationOf(_hasElement(elementC))([_isDynamic])(cType);
|
|
|