[front_end] Remove dead code regarding null values in collections of non-null values

These will soon be reported by the analyzer for
https://github.com/dart-lang/sdk/issues/57101.

Change-Id: I7fe2a9dca107c8c69b5dff0f527fa501c41a2c74
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/489503
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
This commit is contained in:
Sam Rawlins
2026-03-23 07:12:02 -07:00
committed by Commit Queue
parent b02a83e114
commit 65a5876e0d
2 changed files with 0 additions and 6 deletions
@@ -1199,11 +1199,6 @@ bool skipForConfig(
print("Skip: ${testName} for config '${configMarker}'");
return true;
}
skipList = skipMap[null];
if (skipList != null && skipList.contains(testName)) {
print("Skip: ${testName} for config '${configMarker}'");
return true;
}
}
return false;
}
@@ -74,7 +74,6 @@ Future<void> throwOnInsufficientUriToSource(
component.accept(uriFinder);
Set<Uri> uris = uriFinder.seenUris.toSet();
uris.removeAll(component.uriToSource.keys);
uris.remove(null);
if (uris.length != 0) {
throw "Expected 0 uris with no source, but found ${uris.length} ($uris)";
}