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

Unified Diff: compiler/java/com/google/dart/compiler/type/Types.java

Issue 10644004: Issue 3712. Infer closure (function literal) parameter types (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: compiler/java/com/google/dart/compiler/type/Types.java
diff --git a/compiler/java/com/google/dart/compiler/type/Types.java b/compiler/java/com/google/dart/compiler/type/Types.java
index 04b9c992a904732223ba9b92a3e1e47f01a5e3bc..6de2bcbcc0525582149acaa1e8892ccd77a44820 100644
--- a/compiler/java/com/google/dart/compiler/type/Types.java
+++ b/compiler/java/com/google/dart/compiler/type/Types.java
@@ -152,7 +152,7 @@ public class Types {
}
}
- FunctionType asFunctionType(FunctionAliasType alias) {
+ static FunctionType asFunctionType(FunctionAliasType alias) {
FunctionAliasElement element = alias.getElement();
FunctionType type =
(FunctionType) element.getFunctionType().subst(alias.getArguments(),

Powered by Google App Engine
This is Rietveld 408576698