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

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

Issue 2023353004: One more fix for SummaryTypeProvider - nullType is lazy. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a36a638453fb24e5011fe755adfb406e72f53bde..15514a4be6a09769d50b67a6d93f726f658251ee 100644
--- a/pkg/analyzer/lib/src/summary/summary_sdk.dart
+++ b/pkg/analyzer/lib/src/summary/summary_sdk.dart
@@ -350,7 +350,7 @@ class SummaryTypeProvider implements TypeProvider {
@override
InterfaceType get futureNullType {
assert(_asyncLibrary != null);
- _futureNullType ??= futureType.instantiate(<DartType>[_nullType]);
+ _futureNullType ??= futureType.instantiate(<DartType>[nullType]);
return _futureNullType;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698