Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/jspecify-array-handling' into js…
Browse files Browse the repository at this point in the history
…pecify-array-handling
  • Loading branch information
armughan11 committed Oct 22, 2023
2 parents ac5598b + 4fd6df6 commit b1a3f5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ private static boolean isDirectTypeUseAnnotation(Attribute.TypeCompound t, Confi
break;
case ARRAY:
if (config.isJSpecifyMode()) {
// Ignoring @Nullable annotations on array type in JSpecify mode
// In JSpecify mode, annotations on array element types do not apply to the top-level type
return false;
}
locationHasArray = true;
Expand Down

0 comments on commit b1a3f5c

Please sign in to comment.