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

Unified Diff: sdk/lib/_internal/pub_generated/lib/src/barback/transformer_id.dart

Issue 559833004: Cache snapshots of (mostly) immutable transformer phases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 years, 3 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/pub_generated/lib/src/barback/transformer_id.dart
diff --git a/sdk/lib/_internal/pub_generated/lib/src/barback/transformer_id.dart b/sdk/lib/_internal/pub_generated/lib/src/barback/transformer_id.dart
index c209c70e8cec63d3e130130d874e1af40c0203ad..2bdfffe0b50a6cee0e720f08cd66f06f307b809e 100644
--- a/sdk/lib/_internal/pub_generated/lib/src/barback/transformer_id.dart
+++ b/sdk/lib/_internal/pub_generated/lib/src/barback/transformer_id.dart
@@ -31,7 +31,8 @@ class TransformerId {
bool operator ==(other) =>
other is TransformerId && other.package == package && other.path == path;
int get hashCode => package.hashCode ^ path.hashCode;
- String toString() => path == null ? package : '$package/$path';
+ String serialize() => path == null ? package : '$package/$path';
+ String toString() => serialize();
Future<AssetId> getAssetId(Barback barback) {
if (path != null) {
return new Future.value(new AssetId(package, 'lib/$path.dart'));

Powered by Google App Engine
This is Rietveld 408576698