Skip to content

Commit ea94de5

Browse files
committed
Revert "coderabbit"
This reverts commit 2dcd522.
1 parent 2dcd522 commit ea94de5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

nullaway/src/main/java/com/uber/nullaway/generics/ConstraintSolverImpl.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,8 @@ class AddSubtypeConstraintsVisitor extends Types.DefaultTypeVisitor<@Nullable Vo
164164
if (config.handleWildcardGenerics()) {
165165
Verify.verify(!localVariableType, "A wildcard type cannot be assigned to a local variable");
166166
constrainWildcardToSupertype(subtype, supertype);
167-
return null;
168-
} else {
169-
return visitType(subtype, supertype);
170167
}
168+
return null;
171169
}
172170

173171
/**

0 commit comments

Comments
 (0)