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

Unified Diff: pkg/compiler/lib/src/resolution/send_resolver.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 | « pkg/compiler/lib/src/resolution/access_semantics.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/resolution/send_resolver.dart
diff --git a/pkg/compiler/lib/src/resolution/send_resolver.dart b/pkg/compiler/lib/src/resolution/send_resolver.dart
index 0ddce75d817a96285e0a1ef6669f34e12234c57b..23ef20c96b0a497c2eacd04a2e5609759426768d 100644
--- a/pkg/compiler/lib/src/resolution/send_resolver.dart
+++ b/pkg/compiler/lib/src/resolution/send_resolver.dart
@@ -385,6 +385,8 @@ abstract class SendResolverMixin {
} else {
if (Elements.isErroneous(element)) {
return new StaticAccess.unresolved(element);
+ } else if (isCompound && Elements.isErroneous(getter)) {
+ return new StaticAccess.unresolved(getter);
} else if (element == null || element.isInstanceMember) {
if (node.receiver == null || node.receiver.isThis()) {
return new AccessSemantics.thisProperty();
« no previous file with comments | « pkg/compiler/lib/src/resolution/access_semantics.dart ('k') | tests/co19/co19-dart2dart.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698