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

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

Issue 10441071: Use the typedef arity to know how to invoke a closure given by the dom. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 years, 7 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 | dart/lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/compiler.dart
===================================================================
--- dart/lib/compiler/implementation/compiler.dart (revision 8060)
+++ dart/lib/compiler/implementation/compiler.dart (working copy)
@@ -440,6 +440,17 @@
() => resolver.resolveSignature(element));
}
+ FunctionSignature resolveTypedef(TypedefElement element) {
+ return withCurrentElement(element,
+ () => resolver.resolveTypedef(element));
+ }
+
+ FunctionType computeFunctionType(Element element,
+ FunctionSignature signature) {
+ return withCurrentElement(element,
+ () => resolver.computeFunctionType(element, signature));
+ }
+
Constant compileVariable(VariableElement element) {
return withCurrentElement(element, () {
return constantHandler.compileVariable(element);
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698