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

Unified Diff: pkg/compiler/lib/src/resolution/access_semantics.dart

Issue 1077103002: Handle setter without getter for compounds in SemanticSendVisitor (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 | « no previous file | pkg/compiler/lib/src/resolution/send_resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/access_semantics.dart
diff --git a/pkg/compiler/lib/src/resolution/access_semantics.dart b/pkg/compiler/lib/src/resolution/access_semantics.dart
index 10800dd3fdab5cf42db04de04b18886a1de7f5a8..096ddd17faa36da03564fc417864655ba613ca69 100644
--- a/pkg/compiler/lib/src/resolution/access_semantics.dart
+++ b/pkg/compiler/lib/src/resolution/access_semantics.dart
@@ -307,6 +307,22 @@ class CompoundAccessSemantics extends AccessSemantics {
: super._(AccessKind.COMPOUND);
Element get element => setter;
+
+ String toString() {
+ StringBuffer sb = new StringBuffer();
+ sb.write('CompoundAccessSemantics[');
+ sb.write('kind=$compoundAccessKind');
+ if (getter != null) {
+ sb.write(',getter=');
+ sb.write('${getter}');
+ }
+ if (setter != null) {
+ sb.write(',setter=');
+ sb.write('${setter}');
+ }
+ sb.write(']');
+ return sb.toString();
+ }
}
/// Enum representing the different kinds of destinations which a constructor
« no previous file with comments | « no previous file | pkg/compiler/lib/src/resolution/send_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698