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

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

Issue 10779010: Parameters with function types supported + Added features in mirrors implementation (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments + mdn bug fixed. Created 8 years, 5 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: lib/compiler/implementation/resolver.dart
diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart
index b811b8a4dff3ccd92b08d2d51a07bb6af365c785..1c569db76aa3ae4dd5089a5a9c735ee873db2887 100644
--- a/lib/compiler/implementation/resolver.dart
+++ b/lib/compiler/implementation/resolver.dart
@@ -338,6 +338,12 @@ class ResolverTask extends CompilerTask {
});
}
+ FunctionSignature resolveFunctionExpression(Element element,
+ FunctionExpression node) {
+ return measure(() => SignatureResolver.analyze(
+ compiler, node.parameters, node.returnType, element));
+ }
+
FunctionSignature resolveTypedef(TypedefElement element) {
return compiler.withCurrentElement(element, () {
Typedef node =

Powered by Google App Engine
This is Rietveld 408576698