Version 2.12.0-89.0.dev

Merge commit 'fe3dd43995bcb5e7b8cbcb35c615220023931960' into 'dev'
diff --git a/pkg/analyzer/lib/src/error/best_practices_verifier.dart b/pkg/analyzer/lib/src/error/best_practices_verifier.dart
index f7927d6..45b860a 100644
--- a/pkg/analyzer/lib/src/error/best_practices_verifier.dart
+++ b/pkg/analyzer/lib/src/error/best_practices_verifier.dart
@@ -929,6 +929,10 @@
     }
 
     var importElement = node.element;
+    if (importElement == null) {
+      return;
+    }
+
     var importedLibrary = importElement.importedLibrary;
     if (importedLibrary == null || importedLibrary.isNonNullableByDefault) {
       return;
diff --git a/pkg/analyzer/lib/src/error/codes.dart b/pkg/analyzer/lib/src/error/codes.dart
index ed2da59..caddb18 100644
--- a/pkg/analyzer/lib/src/error/codes.dart
+++ b/pkg/analyzer/lib/src/error/codes.dart
@@ -6310,9 +6310,10 @@
       CompileTimeErrorCode(
           'MISSING_DEFAULT_VALUE_FOR_PARAMETER',
           "The parameter '{0}' can't have a value of 'null' because of its "
-              "type, and no non-null default value is provided.",
+              "type, but the implicit default value is 'null'.",
           correction:
-              "Try adding either a default value or the 'required' modifier.",
+              "Try adding either an explicit non-'null' default value or the "
+              "'required' modifier.",
           hasPublishedDocs: true);
 
   /**
diff --git a/pkg/analyzer/test/src/diagnostics/import_of_legacy_library_into_null_safe_test.dart b/pkg/analyzer/test/src/diagnostics/import_of_legacy_library_into_null_safe_test.dart
index 2119b9f..cde53c9 100644
--- a/pkg/analyzer/test/src/diagnostics/import_of_legacy_library_into_null_safe_test.dart
+++ b/pkg/analyzer/test/src/diagnostics/import_of_legacy_library_into_null_safe_test.dart
@@ -65,4 +65,17 @@
 void f(A a) {}
 ''');
   }
+
+  test_nullSafe_into_nullSafe_part() async {
+    newFile('$testPackageLibPath/a.dart', content: '');
+
+    newFile('$testPackageLibPath/b.dart', content: r'''
+part of 'test.dart';
+import 'a.dart';
+''');
+
+    await assertNoErrorsInCode(r'''
+part 'b.dart';
+''');
+  }
 }
diff --git a/pkg/analyzer/tool/diagnostics/diagnostics.md b/pkg/analyzer/tool/diagnostics/diagnostics.md
index f9d33c5..eb96917 100644
--- a/pkg/analyzer/tool/diagnostics/diagnostics.md
+++ b/pkg/analyzer/tool/diagnostics/diagnostics.md
@@ -5289,8 +5289,8 @@
 
 ### missing_default_value_for_parameter
 
-_The parameter '{0}' can't have a value of 'null' because of its type, and no
-non-null default value is provided._
+_The parameter '{0}' can't have a value of 'null' because of its type, but the
+implicit default value is 'null'._
 
 #### Description
 
diff --git a/tools/VERSION b/tools/VERSION
index d7f5861..728f58a 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
 MAJOR 2
 MINOR 12
 PATCH 0
-PRERELEASE 88
+PRERELEASE 89
 PRERELEASE_PATCH 0
\ No newline at end of file