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

Unified Diff: lib/src/codegen/reify_coercions.dart

Issue 1138793002: Tag closures with their types (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebase Created 5 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
Index: lib/src/codegen/reify_coercions.dart
diff --git a/lib/src/codegen/reify_coercions.dart b/lib/src/codegen/reify_coercions.dart
index cff462edc4d8d0b5a95e7d2f1b521aac52e8ca3c..f9fac5deb106a316c40e2e963910d0911da7063b 100644
--- a/lib/src/codegen/reify_coercions.dart
+++ b/lib/src/codegen/reify_coercions.dart
@@ -748,6 +748,7 @@ class TypeManager {
// The name of the typedef (unresolved at this point)
// TODO(leafp): better naming.
SimpleIdentifier t = freshTypeDefVariable("CastType");
+
// The element for the new typedef
var element = new FunctionTypeAliasElementImpl(t.name, 0);

Powered by Google App Engine
This is Rietveld 408576698