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

Unified Diff: lib/src/utils.dart

Issue 1783603009: simplify function coercions -- DDC can generate function types in place (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 9 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 | « lib/src/codegen/reify_coercions.dart ('k') | test/codegen/expect/collection/src/priority_queue.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index 16dddb9504a452f1e2e56f00e0ba425fcbd52553..15b06aac0c6bea4588ef64936489e754e87ce146 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -474,3 +474,10 @@ class FileSystem {
DartType getStaticType(Expression e) =>
e.staticType ?? DynamicTypeImpl.instance;
+
+// TODO(leafp) Factor this out or use an existing library
+class Tuple2<T0, T1> {
+ final T0 e0;
+ final T1 e1;
+ Tuple2(this.e0, this.e1);
+}
« no previous file with comments | « lib/src/codegen/reify_coercions.dart ('k') | test/codegen/expect/collection/src/priority_queue.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698