| Index: pkg/analyzer/lib/src/summary/resynthesize.dart
|
| diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| index a10840fbfe7b32c7d8379f409fd3d052260b4d52..e5d0be7c5c6dbbfbcd372567ead3838ca3d7d94b 100644
|
| --- a/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| +++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
|
| @@ -1525,11 +1525,6 @@ class _ResynthesizerContext implements ResynthesizerContext {
|
| }
|
|
|
| @override
|
| - List<FunctionElementImpl> buildTopLevelFunctions() {
|
| - return _unitResynthesizer.buildTopLevelFunctions();
|
| - }
|
| -
|
| - @override
|
| UnitExplicitTopLevelVariables buildTopLevelVariables() {
|
| return _unitResynthesizer.buildUnitExplicitTopLevelVariables();
|
| }
|
| @@ -2120,19 +2115,6 @@ class _UnitResynthesizer {
|
| return buildType(type, typeParameterContext);
|
| }
|
|
|
| - List<FunctionElementImpl> buildTopLevelFunctions() {
|
| - List<FunctionElementImpl> functions = <FunctionElementImpl>[];
|
| - List<UnlinkedExecutable> executables = unlinkedUnit.executables;
|
| - for (UnlinkedExecutable unlinkedExecutable in executables) {
|
| - if (unlinkedExecutable.kind == UnlinkedExecutableKind.functionOrMethod) {
|
| - FunctionElementImpl function =
|
| - new FunctionElementImpl.forSerialized(unlinkedExecutable, unit);
|
| - functions.add(function);
|
| - }
|
| - }
|
| - return functions;
|
| - }
|
| -
|
| /**
|
| * Build a [DartType] object based on a [EntityRef]. This [DartType]
|
| * may refer to elements in other libraries than the library being
|
|
|