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

Unified Diff: sdk/lib/_internal/compiler/implementation/util/util.dart

Issue 177543002: Constrain type annotations with deferred types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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: sdk/lib/_internal/compiler/implementation/util/util.dart
diff --git a/sdk/lib/_internal/compiler/implementation/util/util.dart b/sdk/lib/_internal/compiler/implementation/util/util.dart
index 0b51aed5528b8bf645afb78614b1af9a92ee07c1..8d267f9ce9426a5be3af8b6a0c5a20aded982c4d 100644
--- a/sdk/lib/_internal/compiler/implementation/util/util.dart
+++ b/sdk/lib/_internal/compiler/implementation/util/util.dart
@@ -296,3 +296,9 @@ int computeHashCode(part1, [part2, part3, part4, part5]) {
^ part4.hashCode
^ part5.hashCode) & 0x3fffffff;
}
+
+class Pair<S, T> {
+ final S first;
+ final T second;
+ Pair(this.first, this.second);
+}

Powered by Google App Engine
This is Rietveld 408576698