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

Unified Diff: lib/compiler/implementation/resolver.dart

Issue 10831149: Revert resolving of function return type from (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index fc52a7c9c71d18d8076bd420f84158b56fccd8d1..453b6adc51b739b51372f4a2d9af2f1c5fa479d5 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -964,7 +964,6 @@ class ResolverVisitor extends CommonResolverVisitor<Element> {
void setupFunction(FunctionExpression node, FunctionElement function) {
context = new MethodScope(context, function);
- if (node.returnType !== null) resolveTypeAnnotation(node.returnType);
// Put the parameters in scope.
FunctionSignature functionParameters =
function.computeSignature(compiler);
« 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