Skip to content

Commit

Permalink
Remove the type parameter from NullabilityEliminator.perform().
Browse files Browse the repository at this point in the history
[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]>
  • Loading branch information
scheglov authored and [email protected] committed Jul 8, 2020
1 parent b524f39 commit ec30a30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class NullabilityEliminator extends ReplacementVisitor {
/// If the [type] itself, or any of its components, has any nullability,
/// return a new type with legacy nullability suffixes. Otherwise return the
/// original instance.
static T perform<T extends DartType>(TypeProviderImpl typeProvider, T type) {
static DartType perform(TypeProviderImpl typeProvider, DartType type) {
if (type == null) {
return type;
}
Expand Down

0 comments on commit ec30a30

Please sign in to comment.