From 4b3e0f44ac11b908e3299dd24c34ff5dfc00c373 Mon Sep 17 00:00:00 2001 From: zrlk Date: Mon, 23 May 2022 17:18:08 -0700 Subject: [PATCH] fix(java_indexer): assert that annotation invocations aren't refs (#5284) --- .../devtools/kythe/analyzers/java/testdata/pkg/Annotations.java | 1 + 1 file changed, 1 insertion(+) diff --git a/kythe/javatests/com/google/devtools/kythe/analyzers/java/testdata/pkg/Annotations.java b/kythe/javatests/com/google/devtools/kythe/analyzers/java/testdata/pkg/Annotations.java index 8b1d0c3529..6c6ef8826a 100644 --- a/kythe/javatests/com/google/devtools/kythe/analyzers/java/testdata/pkg/Annotations.java +++ b/kythe/javatests/com/google/devtools/kythe/analyzers/java/testdata/pkg/Annotations.java @@ -12,6 +12,7 @@ @SuppressWarnings("unused") //- @Annotations ref/id Annotation +//- !{ @Annotations ref Annotation } @Annotations( //- @C ref C //- @Annotations ref Annotation