| Index: pkg/compiler/lib/src/patch_parser.dart
|
| diff --git a/pkg/compiler/lib/src/patch_parser.dart b/pkg/compiler/lib/src/patch_parser.dart
|
| index c6e90d5f13a17aa8f05b1d0d34adfcbb023eceac..8ed2a090477a17f27feb733e7934015a4c252dfa 100644
|
| --- a/pkg/compiler/lib/src/patch_parser.dart
|
| +++ b/pkg/compiler/lib/src/patch_parser.dart
|
| @@ -128,7 +128,7 @@ import 'elements/modelx.dart'
|
| show LibraryElementX,
|
| MetadataAnnotationX,
|
| ClassElementX,
|
| - FunctionElementX;
|
| + BaseFunctionElementX;
|
| import 'helpers/helpers.dart'; // Included for debug helpers.
|
| import 'library_loader.dart' show LibraryLoader;
|
| import 'scanner/scannerlib.dart'; // Scanner, Parsers, Listeners
|
| @@ -541,8 +541,8 @@ void tryPatchFunction(DiagnosticListener listener,
|
| }
|
|
|
| void patchFunction(DiagnosticListener listener,
|
| - FunctionElementX origin,
|
| - FunctionElementX patch) {
|
| + BaseFunctionElementX origin,
|
| + BaseFunctionElementX patch) {
|
| if (!origin.modifiers.isExternal) {
|
| listener.reportError(origin, MessageKind.PATCH_NON_EXTERNAL);
|
| listener.reportInfo(
|
|
|