From 638af62d53f874a19c76e43c7f4cb43d27558804 Mon Sep 17 00:00:00 2001 From: Nicolay Mitropolsky Date: Tue, 17 Jul 2018 20:31:08 +0300 Subject: [PATCH] `UAnnotationUtils.getContainingAnnotationEntry` made aware of polyadic expressions --- uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt b/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt index eeb708c701a3..79f6cd6e6ef5 100644 --- a/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt +++ b/uast/uast-common/src/org/jetbrains/uast/UAnnotationUtils.kt @@ -92,6 +92,7 @@ fun getContainingAnnotationEntry(uElement: UElement?): Pair retrievePsiAnnotationEntry(parent, null) is UNamedExpression -> retrievePsiAnnotationEntry(parent, parent.name) else -> null }