Version 2.12.0-266.0.dev

Merge commit 'ab03a9cde569268fcb8311f72846642c6e6dae93' into 'dev'
diff --git a/pkg/analyzer/lib/src/services/available_declarations.dart b/pkg/analyzer/lib/src/services/available_declarations.dart
index d47bbd7..5e82627 100644
--- a/pkg/analyzer/lib/src/services/available_declarations.dart
+++ b/pkg/analyzer/lib/src/services/available_declarations.dart
@@ -1920,11 +1920,19 @@
   }
 
   static CompilationUnit _parse(FeatureSet featureSet, String content) {
-    return parseString(
-      content: content,
-      featureSet: featureSet,
-      throwIfDiagnostics: false,
-    ).unit;
+    try {
+      return parseString(
+        content: content,
+        featureSet: featureSet,
+        throwIfDiagnostics: false,
+      ).unit;
+    } catch (e) {
+      return parseString(
+        content: '',
+        featureSet: featureSet,
+        throwIfDiagnostics: false,
+      ).unit;
+    }
   }
 
   static String _readContent(File resource) {
diff --git a/tools/VERSION b/tools/VERSION
index c1f184a..27f3915 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
 MAJOR 2
 MINOR 12
 PATCH 0
-PRERELEASE 265
+PRERELEASE 266
 PRERELEASE_PATCH 0
\ No newline at end of file