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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart

Issue 641923003: Remove the need for functionSignature. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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
Index: sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart
index 0a7c3255c697ed77d17f95b4feeca5fec6e3b967..07866a03e8d32a89f67a7cebd6772e5d78f6c400 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/tree_ir_nodes.dart
@@ -283,7 +283,7 @@ class FunctionExpression extends Expression {
final FunctionDefinition definition;
FunctionExpression(this.definition) {
- assert(definition.element.functionSignature.type.returnType.treatAsDynamic);
+ assert(definition.element.type.returnType.treatAsDynamic);
}
accept(ExpressionVisitor visitor) => visitor.visitFunctionExpression(this);

Powered by Google App Engine
This is Rietveld 408576698