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

Unified Diff: sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart

Issue 342653005: Fixed dart2js compile errors in ir_builder and ir_nodes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart b/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
index 137703ef53c795305f2edc6b7069efc88e48b56b..e80aa26c07ceefceb645a8e015afceec421ea788 100644
--- a/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
+++ b/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
@@ -1180,7 +1180,9 @@ class IrBuilder extends ResolvedVisitor<ir.Primitive> {
// - Assignment to final variable (will not be resolved)
return giveup(node, 'SendSet: non-local, non-static, but no receiver');
} else {
- if (element != null && Elements.isUnresolved(element)) return giveup();
+ if (element != null && Elements.isUnresolved(element)) {
+ return giveup(node);
+ }
// Setter or index-setter invocation
assert(node.receiver != null);
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/ir/ir_nodes.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698