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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/Resolver.java

Issue 8566022: Function type checking (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 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
Index: compiler/java/com/google/dart/compiler/resolver/Resolver.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/Resolver.java b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
index 6f660f115b1ca579675624f982bc4668edbb4008..385a515d191d9596a7d8477be88bdadea4f3dec6 100644
--- a/compiler/java/com/google/dart/compiler/resolver/Resolver.java
+++ b/compiler/java/com/google/dart/compiler/resolver/Resolver.java
@@ -204,6 +204,9 @@ public class Resolver {
@Override
public Element visitFunctionTypeAlias(DartFunctionTypeAlias alias) {
+ getContext().pushFunctionAliasScope(alias);
+ resolveFunctionAlias(alias);
+ getContext().popScope();
return null;
}

Powered by Google App Engine
This is Rietveld 408576698