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

Unified Diff: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart

Issue 812803002: Fix a merge error that was included in r42429. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
diff --git a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
index 431b2bddb0573ca18b44a207eae6f2fb8eea3dd2..d0f01f4251554462ba9c45901c52e3358df0b42a 100644
--- a/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
+++ b/pkg/compiler/lib/src/tree_ir/tree_ir_builder.dart
@@ -113,6 +113,8 @@ class Builder extends cps_ir.Visitor<Node> {
ExecutableDefinition build(cps_ir.ExecutableDefinition node) {
if (node is cps_ir.FieldDefinition) {
return buildField(node);
+ } else if (node is cps_ir.ConstructorDefinition) {
+ return buildConstructor(node);
} else {
assert(dart2js.invariant(
CURRENT_ELEMENT_SPANNABLE,
@@ -121,7 +123,6 @@ class Builder extends cps_ir.Visitor<Node> {
' found $node'));
return buildFunction(node);
}
- return null;
}
FieldDefinition buildField(cps_ir.FieldDefinition node) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698