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

Unified Diff: lib/src/closure/closure_annotator.dart

Issue 1484263002: Use destructuring assignments for named parameters (#180) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/runtime/dart/mirrors.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/closure/closure_annotator.dart
diff --git a/lib/src/closure/closure_annotator.dart b/lib/src/closure/closure_annotator.dart
index f0a71754c9c9e1f6130e4e4037a7fe05230d2033..104ed14c45baa340fb69a0820eea221bf6e2cee9 100644
--- a/lib/src/closure/closure_annotator.dart
+++ b/lib/src/closure/closure_annotator.dart
@@ -36,6 +36,7 @@ abstract class ClosureAnnotator {
superType: _closureTypeForDartType(e.supertype),
interfaces: e.interfaces.map(_closureTypeForDartType).toList());
+ // TODO(ochafik): Handle destructured params when Closure supports it.
ClosureAnnotation closureAnnotationFor(
ExecutableElement e, String namedArgsMapName) {
var paramTypes = <String, ClosureType>{};
« no previous file with comments | « lib/runtime/dart/mirrors.js ('k') | lib/src/codegen/js_codegen.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698