Skip to content

Commit

Permalink
Fix NPE in invocation type inference
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskarth committed Aug 17, 2024
1 parent 9986e91 commit fe081e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ else if (!bounds.containsKey(from)) {
}
if (found != null) {
Map<VarType, VarType> genvars = new HashMap<>();
if (base.getSignature() != null) {
if (base.getSignature() != null && found.getSignature() != null) {
base.getSignature().genericType.mapGenVarsTo((GenericType) paramType, genvars);
excluded.addAll(found.getSignature().parameterTypes.stream()
.filter(VarType::isGeneric)
Expand Down

0 comments on commit fe081e8

Please sign in to comment.