Skip to content

Commit ec30a30

Browse files
scheglovcommit-bot@chromium.org
authored andcommitted
Remove the type parameter from NullabilityEliminator.perform().
[email protected] Change-Id: Iebf32f926aec6d904940d531a8c56318f33b8074 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153483 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent b524f39 commit ec30a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/analyzer/lib/src/dart/element/nullability_eliminator.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class NullabilityEliminator extends ReplacementVisitor {
3737
/// If the [type] itself, or any of its components, has any nullability,
3838
/// return a new type with legacy nullability suffixes. Otherwise return the
3939
/// original instance.
40-
static T perform<T extends DartType>(TypeProviderImpl typeProvider, T type) {
40+
static DartType perform(TypeProviderImpl typeProvider, DartType type) {
4141
if (type == null) {
4242
return type;
4343
}

0 commit comments

Comments
 (0)