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: pkg/analyzer2dart/lib/src/cps_generator.dart

Issue 759193005: Add support for fields to the new dart backend. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 6 years, 1 month 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/cps_ir/constant_propagation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer2dart/lib/src/cps_generator.dart
diff --git a/pkg/analyzer2dart/lib/src/cps_generator.dart b/pkg/analyzer2dart/lib/src/cps_generator.dart
index c9326f2458f5a6355687d38d21344b35ed5c469d..a27b429ebe750b96651950d8dbe2d8b87f8cdb56 100644
--- a/pkg/analyzer2dart/lib/src/cps_generator.dart
+++ b/pkg/analyzer2dart/lib/src/cps_generator.dart
@@ -58,7 +58,7 @@ class CpsGeneratingVisitor extends SemanticVisitor<ir.Node>
// Visit the body directly to avoid processing the signature as
// expressions.
visit(node.body);
- return irBuilder.buildFunctionDefinition(element, const []);
+ return irBuilder.buildFunctionDefinition(const []);
});
}
« no previous file with comments | « no previous file | pkg/compiler/lib/src/cps_ir/constant_propagation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698