Skip to content

Commit

Permalink
add null check!
Browse files Browse the repository at this point in the history
  • Loading branch information
msridhar committed Jul 25, 2023
1 parent e59a474 commit c34c402
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ private Type getTreeType(Tree tree) {
return typeWithPreservedAnnotations(paramTypedTree);
} else {
Type result = ASTHelpers.getType(tree);
if (result.isRaw()) {
if (result != null && result.isRaw()) {
// bail out of any checking involving raw types for now
return null;
}
Expand Down

0 comments on commit c34c402

Please sign in to comment.