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

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

Issue 2357553003: Fix newly introduced errors and warnings (Closed)
Patch Set: Created 4 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: pkg/analyzer/lib/src/summary/summary_sdk.dart
diff --git a/pkg/analyzer/lib/src/summary/summary_sdk.dart b/pkg/analyzer/lib/src/summary/summary_sdk.dart
index 8d13a552cb25610959967716ffcf4b42a0a61864..5857d8b6280a8b6e4d0d07cff9d30e710a624011 100644
--- a/pkg/analyzer/lib/src/summary/summary_sdk.dart
+++ b/pkg/analyzer/lib/src/summary/summary_sdk.dart
@@ -39,7 +39,8 @@ class SdkSummaryResultProvider extends ResynthesizerResultProvider {
@override
bool compute(CacheEntry entry, ResultDescriptor result) {
if (result == TYPE_PROVIDER) {
- entry.setValue(result, typeProvider, TargetedResult.EMPTY_LIST);
+ entry.setValue(result as ResultDescriptor<TypeProvider>, typeProvider,
+ TargetedResult.EMPTY_LIST);
return true;
}
return super.compute(entry, result);

Powered by Google App Engine
This is Rietveld 408576698