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

Unified Diff: pkg/analyzer/lib/src/summary/incremental_cache.dart

Issue 2043913003: Rollback to the older version of crypto to fix build. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/incremental_cache.dart
diff --git a/pkg/analyzer/lib/src/summary/incremental_cache.dart b/pkg/analyzer/lib/src/summary/incremental_cache.dart
index 34cbd85faa721bed423e91525e8d8bcea93d19de..f9f6c503bf816167d464b007de538b6ad699bcee 100644
--- a/pkg/analyzer/lib/src/summary/incremental_cache.dart
+++ b/pkg/analyzer/lib/src/summary/incremental_cache.dart
@@ -288,6 +288,14 @@ class IncrementalCache {
byteSink.add(configSalt);
// Done.
byteSink.close();
+
+ // TODO(paulberry): this call to `close` should not be needed.
+ // Can be removed once
+ // https://github.com/dart-lang/crypto/issues/33
+ // is fixed – ensure the min version constraint on crypto is updated, tho.
+ // Does not cause any problems in the mean time.
+ digestSink.close();
+
return digest.bytes;
}
« no previous file with comments | « no previous file | pkg/analyzer/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698