Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Unified Diff: pkg/compiler/lib/src/patch_parser.dart

Issue 1132783002: Add Accessor, Getter, and Setter elements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebased Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/native/native.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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(
« no previous file with comments | « pkg/compiler/lib/src/native/native.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698