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

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

Issue 8845002: Function type checking: Part Deux (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Nits checked Created 9 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
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 f838170719921ae22b7b148da1ab3ec41dfd7014..03c58ee95f222bfa8e896a44622337fccf2e9c63 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