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

Unified Diff: pkg/dev_compiler/lib/src/compiler/nullable_type_inference.dart

Issue 2371113004: Use .packages instead of pubspec.yaml (Closed)
Patch Set: Mark clang as passing 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/dev_compiler/lib/src/compiler/nullable_type_inference.dart
diff --git a/pkg/dev_compiler/lib/src/compiler/nullable_type_inference.dart b/pkg/dev_compiler/lib/src/compiler/nullable_type_inference.dart
index e1821e0fc8b51714b91ce512dff3169399900f4a..39f01308324edbb22a8b5d05d18574e643c087d4 100644
--- a/pkg/dev_compiler/lib/src/compiler/nullable_type_inference.dart
+++ b/pkg/dev_compiler/lib/src/compiler/nullable_type_inference.dart
@@ -235,6 +235,7 @@ class _NullableLocalInference extends RecursiveAstVisitor {
// they are nullable too.
_assignments.remove(e)?.forEach(visitNullableLocal);
}
+
_nullableLocals.forEach(visitNullableLocal);
// Any remaining locals are non-null.
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/js_typeref_codegen.dart ('k') | pkg/dev_compiler/lib/src/compiler/type_utilities.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698