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

Unified Diff: dart/pkg/compiler/lib/src/util/link.dart

Issue 744023002: Add Link.copyWithout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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/pkg/compiler/lib/src/util/link_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/util/link.dart
diff --git a/dart/pkg/compiler/lib/src/util/link.dart b/dart/pkg/compiler/lib/src/util/link.dart
index c633abebb7f952778bbea35bda9c68978cae9083..648e185cdbc7b356081a5ba05bb398cbcedb7116 100644
--- a/dart/pkg/compiler/lib/src/util/link.dart
+++ b/dart/pkg/compiler/lib/src/util/link.dart
@@ -127,6 +127,8 @@ class Link<T> {
}
return true;
}
+
+ Link copyWithout(e) => this;
}
abstract class LinkBuilder<T> {
« no previous file with comments | « no previous file | dart/pkg/compiler/lib/src/util/link_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698