Skip to content

Add tests for TYPE_USE annotations on outer classes and arrays - #2113

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_961637604
Aug 10, 2026
Merged

Add tests for TYPE_USE annotations on outer classes and arrays#2113
copybara-service[bot] merged 1 commit into
mainfrom
test_961637604

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add tests for TYPE_USE annotations on outer classes and arrays

For e.g. @Nullable String [] and @Nullable Enclosing.Inner, the annotation
applies to the array component type and the enclosing class type respectively.
Auto includes the type annotation in the generated output and emits an
additional annotation for nullable proprties, resulting in an invalid repeated
annotation.

RELNOTES=n/a

@copybara-service
copybara-service Bot force-pushed the test_961637604 branch 3 times, most recently from 9cb6ead to dfefe1f Compare August 10, 2026 07:07
For e.g. `@Nullable String []` and `@Nullable Enclosing.Inner`, the annotation
applies to the array component type and the enclosing class type respectively.
Auto includes the type annotation in the generated output and emits an
additional annotation for nullable proprties, resulting in an invalid repeated
annotation.

RELNOTES=n/a
PiperOrigin-RevId: 961975126
@copybara-service
copybara-service Bot merged commit 5c2ae41 into main Aug 10, 2026
@copybara-service
copybara-service Bot deleted the test_961637604 branch August 10, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant